X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Ftransportque.h;h=7d0c181912f6b7dbc0a9fd929443c92d926d2a12;hb=5c3e5d5e76c29b49708b4e42d194402150b508ab;hp=1eed30e7f0115ca93794d22f511d1380639a40de;hpb=d66e2dde00fcfbe27c461a9956e66753faa62c95;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/transportque.h b/cinelerra-5.1/cinelerra/transportque.h index 1eed30e7..7d0c1819 100644 --- a/cinelerra-5.1/cinelerra/transportque.h +++ b/cinelerra-5.1/cinelerra/transportque.h @@ -35,13 +35,18 @@ public: ~TransportCommand(); void reset(); + static int single_frame(int command); + int single_frame(); // Get the direction based on the command + static int get_direction(int command); int get_direction(); + static float get_speed(int command); float get_speed(); void copy_from(TransportCommand *command); TransportCommand& operator=(TransportCommand &command); // Get the range to play back from the EDL - void set_playback_range(EDL *edl=0, int use_inout=0, int toggle_audio=0); + void set_playback_range(EDL *edl=0, + int use_inout=0, int toggle_audio=0, int use_displacement=0); // Adjust playback range with in/out points for rendering void playback_range_adjust_inout(); @@ -51,7 +56,6 @@ public: void playback_range_project(); void playback_range_1frame(); - int single_frame(); EDL* get_edl(); void delete_edl(); void new_edl(); @@ -65,6 +69,8 @@ public: int infinite; // Position used when starting playback double playbackstart; +// start position at this=0/next=1 frame + int displacement; // Send output to device int realtime; // Use persistant starting point @@ -91,7 +97,8 @@ public: // Persistent starting point int resume = 0, int use_inout = 0, - int toggle_audio = 0); + int toggle_audio = 0, + int use_displacement = 0); void update_change_type(int change_type); TransportCommand command;