X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fplaybackengine.h;h=ee27ff19a4b55e4ddf1db4250d7655c2f8ddc02f;hb=7ffa6954689f14a41a3bae7a0fdb3f2abeaa9679;hp=73ef329cd9064301b8646e884579c3924be8eae3;hpb=7773615d89c9da219d3ade11c265601bfbc07dc0;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/playbackengine.h b/cinelerra-5.1/cinelerra/playbackengine.h index 73ef329c..ee27ff19 100644 --- a/cinelerra-5.1/cinelerra/playbackengine.h +++ b/cinelerra-5.1/cinelerra/playbackengine.h @@ -55,6 +55,7 @@ public: void create_cache(); void perform_change(); void sync_parameters(EDL *edl); + void clear_borders(); // Set wait_tracking for events that change the cursor location but // be sure to unlock the windows void interrupt_playback(int wait_tracking = 0); @@ -69,7 +70,7 @@ public: virtual int brender_available(long position); // For normal playback tracking and the cursor are started virtual void init_tracking(); - virtual void stop_tracking(); + virtual void stop_tracking(double position); virtual void init_meters(); // The playback cursor calls this to calculate the current tracking position virtual double get_tracking_position(); @@ -84,6 +85,7 @@ public: void send_command(int command, EDL *edl, int wait_tracking, int use_inout); void stop_playback(int wait); void refresh_frame(int change_type, EDL *edl, int dir=1); + int get_direction(); // Maintain caches through console changes CICache *audio_cache, *video_cache; @@ -110,21 +112,23 @@ public: // Copy of main preferences Preferences *preferences; + int put_command(TransportCommand *command, int reset); int transport_stop(int wait_tracking); int transport_command(int command, int change_type=CHANGE_NONE, EDL *new_edl=0, int use_inout=0); Condition *input_lock, *output_lock; -// active command - TransportCommand *command; -// stop, next, queued commands - TransportCommand *stop_command, *next_command, *curr_command; +// active command, stop command + TransportCommand *command, *stop_command; +// next command under construction, last sent command + TransportCommand *next_command, *sent_command; // Render engine RenderEngine *render_engine; int done; int is_playing_back; + int send_active; // General purpose debugging register int debug;