{
//printf("VWindow::update_position %d\n", __LINE__);
//edl->dump();
- playback_engine->que->send_command(CURRENT_FRAME,
- change_type,
- edl,
- 1);
+ playback_engine->refresh_frame(change_type, edl);
double position = edl->local_session->get_selectionstart(1);
if(lock_window) gui->lock_window("VWindow::update_position");
}
}
-void VWindow::stop_playback()
+void VWindow::stop_playback(int wait)
{
- int locked = gui->get_window_lock();
- if( locked ) gui->unlock_window();
- playback_engine->interrupt_playback(1);
- if( locked ) gui->lock_window("VWindow::stop_playback");
+ playback_engine->stop_playback(wait);
}
int VWindow::update_position(double position)
}
}
-void VWindow::clear_inpoint()
-{
- EDL *edl = get_edl();
- if(edl)
- {
- edl->local_session->unset_inpoint();
- gui->timebar->update(1);
- }
-}
-
-void VWindow::clear_outpoint()
+void VWindow::unset_inoutpoint()
{
EDL *edl = get_edl();
if(edl)
{
- edl->local_session->unset_outpoint();
+ edl->unset_inoutpoint();
gui->timebar->update(1);
}
}