blade and hard egdes, undo cache reset bug, sams ladspa icons, theme image access...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vwindow.C
index 45dacc0b8496f4425b782f2b560ac67b7d189a94..e22dcde06972f8b47a193c60ba12bbf8946fc051 100644 (file)
@@ -340,9 +340,13 @@ void VWindow::update_position(int change_type,
        }
 }
 
-
-
-
+void VWindow::stop_playback()
+{
+       int locked = gui->get_window_lock();
+       if( locked ) gui->unlock_window();
+       playback_engine->interrupt_playback(1);
+       if( locked ) gui->lock_window("VWindow::stop_playback");
+}
 
 int VWindow::update_position(double position)
 {