X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvideowindowgui.C;h=252e57104644c7c08e3d3374080e8d21239ccb6d;hb=b9f98da8f1cd8b7b31ead02fa41f299b56cac3da;hp=0afff0bcfe7a7a83fa441e58af54ab4b0d5c1755;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/videowindowgui.C b/cinelerra-5.1/cinelerra/videowindowgui.C index 0afff0bc..252e5710 100644 --- a/cinelerra-5.1/cinelerra/videowindowgui.C +++ b/cinelerra-5.1/cinelerra/videowindowgui.C @@ -33,15 +33,8 @@ 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() { }