X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fsetformat.C;h=1ca51112e3f86cadeffd185c6c2638f43fcca7de;hp=413fa950357b3f029b0c400452cf9f4ee5c41fe0;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hpb=0b78779e9e75131eee81d2e4689b98df0e91c092 diff --git a/cinelerra-5.1/cinelerra/setformat.C b/cinelerra-5.1/cinelerra/setformat.C index 413fa950..1ca51112 100644 --- a/cinelerra-5.1/cinelerra/setformat.C +++ b/cinelerra-5.1/cinelerra/setformat.C @@ -159,6 +159,7 @@ void SetFormatThread::apply_changes() mwindow->edl->copy_session(new_settings, 1); mwindow->edl->session->output_w = dimension[0]; mwindow->edl->session->output_h = dimension[1]; + mwindow->edl->retrack(); mwindow->edl->rechannel(); mwindow->edl->resample(old_samplerate, new_samplerate, TRACK_AUDIO); mwindow->edl->resample(old_framerate, new_framerate, TRACK_VIDEO); @@ -620,12 +621,11 @@ SetChannelsCanvas::SetChannelsCanvas(MWindow *mwindow, this->mwindow = mwindow; active_channel = -1; box_r = mwindow->theme->channel_position_data->get_w() / 2; - temp_picon = new VFrame(0, - -1, + temp_picon = new VFrame( mwindow->theme->channel_position_data->get_w(), mwindow->theme->channel_position_data->get_h(), mwindow->theme->channel_position_data->get_color_model(), - -1); + 0); rotater = new RotateFrame(mwindow->preferences->processors, mwindow->theme->channel_position_data->get_w(), mwindow->theme->channel_position_data->get_h());