p/s proxy icon, rework window locks, segv in close_mixers + exportedl, ffmpeg default...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / videowindowgui.C
index 0afff0bcfe7a7a83fa441e58af54ab4b0d5c1755..252e57104644c7c08e3d3374080e8d21239ccb6d 100644 (file)
 
 VideoWindowGUI::VideoWindowGUI(VideoWindow *thread, int w, int h)
  : BC_Window(_(PROGRAM_NAME ": Video out"),
-       (int)BC_INFINITY,
-       (int)BC_INFINITY,
-       w,
-       h,
-       10,
-       10,
-       1,
-       1,
-       1)
+       (int)BC_INFINITY, (int)BC_INFINITY,
+       w, h, 10, 10, 1, 1, 1)
 {
        this->thread = thread;
 }
@@ -52,11 +45,12 @@ VideoWindowGUI::~VideoWindowGUI()
 
 void VideoWindowGUI::create_objects()
 {
+       lock_window("VideoWindowGUI::create_objects");
        add_subwindow(canvas = new VideoWindowCanvas(this, get_w(), get_h()));
        update_title();
+       unlock_window();
 }
 
-
 int VideoWindowGUI::keypress_event()
 {
 }