+//printf("send: %d (STOP) 0\n", STOP);
+ return 0;
+}
+
+int PlaybackEngine::transport_command(int command, int change_type, EDL *new_edl, int use_inout)
+{
+ next_command->command = command;
+ next_command->change_type |= change_type;
+ if( new_edl ) {
+// Just change the EDL if the change requires it because renderengine
+// structures won't point to the new EDL otherwise and because copying the
+// EDL for every cursor movement is slow.
+ if( change_type == CHANGE_EDL || change_type == CHANGE_ALL )
+ next_command->get_edl()->copy_all(new_edl);
+ else if( change_type == CHANGE_PARAMS )
+ next_command->get_edl()->synchronize_params(new_edl);
+ next_command->set_playback_range(new_edl, use_inout,
+ preferences->forward_render_displacement);
+ }
+ put_command(next_command, 1);
+//static const char *types[] = { "NONE",
+// "FRAME_FWD", "NORMAL_FWD", "FAST_FWD", "FRAME_REV", "NORMAL_REV", "FAST_REV",
+// "STOP", "PAUSE", "SLOW_FWD", "SLOW_REV", "REWIND", "GOTO_END", "CURRENT_FRAME",
+// "LAST_FRAME" };
+//printf("send= %d (%s) %d\n", sent_command->command,
+// types[sent_command->command], sent_command->locked);
+ return 0;