X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fplugins%2Fchromakey%2Fchromakey.C;h=832a1d45cfe32e4035820002099de57b69173dce;hb=a6b1f3c0c5c17c3a26758abc46bcb46100308c66;hp=c627200d2d0ea52a339aa13922bfb7c28f91d4fd;hpb=9e3d90a964c0fbe97c0b58235336a47111932d5d;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/chromakey/chromakey.C b/cinelerra-5.1/plugins/chromakey/chromakey.C index c627200d..832a1d45 100644 --- a/cinelerra-5.1/plugins/chromakey/chromakey.C +++ b/cinelerra-5.1/plugins/chromakey/chromakey.C @@ -318,7 +318,9 @@ int ChromaKeyColorThread::handle_new_color(int output, int alpha) plugin->config.red = (float)(output & 0xff0000) / 0xff0000; plugin->config.green = (float)(output & 0xff00) / 0xff00; plugin->config.blue = (float)(output & 0xff) / 0xff; + gui->lock_window("ChromaKeyColorThread::handle_new_color"); gui->update_sample(); + gui->unlock_window(); plugin->send_configure_change(); return 1; }