X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffiledv.C;h=bcce24b21201bd11c7d09310e9d2cf1632a653f5;hp=1a543744898764cafc96c57b365e8420b60f27ba;hb=b9f98da8f1cd8b7b31ead02fa41f299b56cac3da;hpb=6853a2c0b04cc5ff4e87a2022c914227f925cb7f diff --git a/cinelerra-5.1/cinelerra/filedv.C b/cinelerra-5.1/cinelerra/filedv.C index 1a543744..bcce24b2 100644 --- a/cinelerra-5.1/cinelerra/filedv.C +++ b/cinelerra-5.1/cinelerra/filedv.C @@ -982,8 +982,7 @@ DVConfigAudio::DVConfigAudio(BC_WindowBase *parent_window, Asset *asset) : BC_Window(_(PROGRAM_NAME ": Audio Compression"), parent_window->get_abs_cursor_x(1), parent_window->get_abs_cursor_y(1), - 350, - 250) + 350, 250) { this->parent_window = parent_window; this->asset = asset; @@ -996,8 +995,10 @@ DVConfigAudio::~DVConfigAudio() void DVConfigAudio::create_objects() { + lock_window("DVConfigAudio::create_objects"); add_tool(new BC_Title(10, 10, _("There are no audio options for this format"))); add_subwindow(new BC_OKButton(this)); + unlock_window(); } int DVConfigAudio::close_event() @@ -1007,16 +1008,11 @@ int DVConfigAudio::close_event() } - - - - DVConfigVideo::DVConfigVideo(BC_WindowBase *parent_window, Asset *asset) : BC_Window(_(PROGRAM_NAME ": Video Compression"), parent_window->get_abs_cursor_x(1), parent_window->get_abs_cursor_y(1), - 350, - 250) + 350, 250) { this->parent_window = parent_window; this->asset = asset; @@ -1029,8 +1025,10 @@ DVConfigVideo::~DVConfigVideo() void DVConfigVideo::create_objects() { + lock_window("DVConfigVideo::create_objects"); add_tool(new BC_Title(10, 10, _("There are no video options for this format"))); add_subwindow(new BC_OKButton(this)); + unlock_window(); } int DVConfigVideo::close_event()