X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvwindowgui.C;h=e3f323c526e08acd98c56b05b5e682376a317e89;hb=bd40a11178ed791d8c163877d3c28e5045148c62;hp=f446a0f475f758b70bae1c8e72cdc7ff7e10846d;hpb=7ead44762b23da404eee89b63e0474153fdf58a1;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/vwindowgui.C b/cinelerra-5.1/cinelerra/vwindowgui.C index f446a0f4..e3f323c5 100644 --- a/cinelerra-5.1/cinelerra/vwindowgui.C +++ b/cinelerra-5.1/cinelerra/vwindowgui.C @@ -112,6 +112,7 @@ void VWindowGUI::draw_wave() int w = mwindow->edl->session->output_w; int h = mwindow->edl->session->output_h; VFrame *vframe = new VFrame(w, h, BC_RGB888); + vframe->clear_frame(); int sample_rate = mwindow->edl->get_sample_rate(); int channels = mwindow->edl->session->audio_channels; if( channels > 2 ) channels = 2; @@ -200,9 +201,9 @@ void VWindowGUI::update_sources(const char *title) void VWindowGUI::create_objects() { + lock_window("VWindowGUI::create_objects"); in_point = 0; out_point = 0; - lock_window("VWindowGUI::create_objects"); set_icon(mwindow->theme->get_image("vwindow_icon")); //printf("VWindowGUI::create_objects 1\n");