fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / cinelerra / setformat.C
index ef0d3000813aef51bc1788e2446154483bd91d2a..1ca51112e3f86cadeffd185c6c2638f43fcca7de 100644 (file)
@@ -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);
@@ -479,7 +480,7 @@ void SetFormatWindow::create_objects()
                thread,
                &(thread->new_settings->session->aspect_w)));
        x += aspect_w->get_w() + 5;
-       add_subwindow(new BC_Title(x, y, _(":")));
+       add_subwindow(new BC_Title(x, y, ":"));
        x += 10;
        add_subwindow(aspect_h = new ScaleAspectText(x,
                y,
@@ -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());