repeat play, in/out <> shortcuts, append to proj wording, cleanup
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mtimebar.C
index 5fa6e4c845fdc5c063b4e980ffdb61f3d551f62b..94e7f2d1c2bac9f4aee689ce49234c9e9c81b4b8 100644 (file)
@@ -96,11 +96,9 @@ int64_t MTimeBar::position_to_pixel(double position)
 }
 
 
 }
 
 
-void MTimeBar::stop_playback()
+void MTimeBar::stop_transport()
 {
 {
-       gui->unlock_window();
-       gui->mbuttons->transport->handle_transport(STOP, 1, 0, 0);
-       gui->lock_window();
+       gui->stop_transport("MTimeBar::stop_transport");
 }
 
 #define TEXT_MARGIN 4
 }
 
 #define TEXT_MARGIN 4
@@ -455,13 +453,10 @@ void MTimeBar::draw_range()
 
 void MTimeBar::select_label(double position)
 {
 
 void MTimeBar::select_label(double position)
 {
-       EDL *edl = mwindow->edl;
-
-       gui->unlock_window();
-       gui->mbuttons->transport->handle_transport(STOP, 1, 0, 0);
-       gui->lock_window();
+       stop_transport();
 
 
-       position = mwindow->edl->align_to_frame(position, 1);
+       EDL *edl = mwindow->edl;
+       position = edl->align_to_frame(position, 1);
 
        if(shift_down())
        {
 
        if(shift_down())
        {