#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();
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();
int infinite;
// Position used when starting playback
double playbackstart;
-// start at this=0/next=1 frame
- int displacement;
+// playback offset for always show next frame pref
+ double displacement;
// Send output to device
int realtime;
// command must execute
private:
// Copied to render engines
EDL *edl;
+ Preferences *preferences;
};
#endif