X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftransportque.h;h=fcfc1703154d613b7a90741d1ae85ce6685c5ea3;hb=HEAD;hp=2594594ff7a4723b180b8d84d023cdc64b134a3f;hpb=f1fc28e0bbb5a7c0e153ef9c1abdbfb1186e1acc;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/transportque.h b/cinelerra-5.1/cinelerra/transportque.h index 2594594f..00f9e24a 100644 --- a/cinelerra-5.1/cinelerra/transportque.h +++ b/cinelerra-5.1/cinelerra/transportque.h @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,12 +27,13 @@ #include "condition.inc" #include "edl.inc" #include "playbackengine.inc" +#include "preferences.inc" #include "transportque.inc" class TransportCommand { public: - TransportCommand(); + TransportCommand(Preferences *preferences); ~TransportCommand(); void reset(); @@ -41,7 +43,7 @@ public: void set_playback_range(EDL *edl, int use_inout, int do_displacement); static int single_frame(int command); static int get_direction(int command); - static float get_speed(int command, float speed=0); + float get_speed(int command, float speed=0); // Adjust playback range with in/out points for rendering void playback_range_adjust_inout(); @@ -84,6 +86,7 @@ public: private: // Copied to render engines EDL *edl; + Preferences *preferences; }; #endif