X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fchromakey%2Fchromakey.C;h=832a1d45cfe32e4035820002099de57b69173dce;hb=a6b1f3c0c5c17c3a26758abc46bcb46100308c66;hp=6ec5af686540af347e02bf362bc571e7a57f6c0e;hpb=0df48ad2d876409c5beeae2e21933a728ea76c33;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/chromakey/chromakey.C b/cinelerra-5.1/plugins/chromakey/chromakey.C index 6ec5af68..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; } @@ -809,7 +811,7 @@ SET_TRACE glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glDisable(GL_BLEND); SET_TRACE - return 0; #endif + return 0; }