no /. in ffmpeg init_decode segv, build index fix audio wave, stop playback state...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / playbackengine.h
index 73ef329cd9064301b8646e884579c3924be8eae3..048dc7a206fa5b9cf2fdcbd1156a344030665fbe 100644 (file)
@@ -55,6 +55,7 @@ public:
        void create_cache();
        void perform_change();
        void sync_parameters(EDL *edl);
+       void clear_output();
 // Set wait_tracking for events that change the cursor location but
 // be sure to unlock the windows
        void interrupt_playback(int wait_tracking = 0);
@@ -110,21 +111,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;