}
-void PlaybackEngine::stop_playback()
+void PlaybackEngine::stop_playback(int wait)
{
que->send_command(STOP, CHANGE_NONE, 0, 0);
- interrupt_playback(1);
+ interrupt_playback(wait);
renderengine_lock->lock("PlaybackEngine::stop_playback");
if(render_engine)
render_engine->wait_done();
}
}
+void PlaybackEngine::refresh_frame(int change_type, EDL *edl)
+{
+ que->send_command(CURRENT_FRAME, change_type, edl, 1);
+}
+