X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fdeinterlace-cv%2Fdeinterwindow-cv.C;h=c73fc47f7b069c16a00eb4145cd4eba186998990;hb=b2d07362d3393d770098fc4e9a17ddf489a1b632;hp=068be6de64c2363b1bcbb5f3f768f62861f0ee39;hpb=0df48ad2d876409c5beeae2e21933a728ea76c33;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/deinterlace-cv/deinterwindow-cv.C b/cinelerra-5.1/plugins/deinterlace-cv/deinterwindow-cv.C index 068be6de..c73fc47f 100644 --- a/cinelerra-5.1/plugins/deinterlace-cv/deinterwindow-cv.C +++ b/cinelerra-5.1/plugins/deinterlace-cv/deinterwindow-cv.C @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -60,7 +61,7 @@ void DeInterlaceWindow::create_objects() add_tool(status = new BC_Title(x, y, string)); flash(); show_window(); - set_mode(client->config.mode,0); + set_mode(client->config.mode, 1); } void DeInterlaceWindow::get_status_string(char *string, int changed_rows) @@ -127,11 +128,13 @@ int DeInterlaceWindow::set_mode(int mode, int recursive) add_subwindow(threshold = new DeInterlaceThreshold(client, x + xS(150), y)); add_subwindow(threshold->title_caption=new BC_Title(x+xS(150), y + yS(50), _("Threshold"))); + threshold->show_window(0); adaptive->update(client->config.adaptive?BC_Toggle::TOGGLE_CHECKED:0); break; case DEINTERLACE_BOBWEAVE: add_subwindow(threshold = new DeInterlaceThreshold(client, x + xS(150), y)); add_subwindow(threshold->title_caption=new BC_Title(x+xS(150), y + yS(50), _("Bob Threshold"))); + threshold->show_window(0); break; case DEINTERLACE_NONE: case DEINTERLACE_KEEP: