colorpicker cleanup, make ffmpeg probes early default
[goodguy/history.git] / cinelerra-5.1 / plugins / chromakey / chromakey.C
index 8618d03b605c2922c2539835bb7a042f216cd3ef..9d1926fc82ce83c66fde4233fe9860e8fcbcf73c 100644 (file)
@@ -169,6 +169,11 @@ void ChromaKeyWindow::update_sample()
        sample->flash();
 }
 
+void ChromaKeyWindow::done_event(int result)
+{
+       color_thread->close_window();
+}
+
 
 
 
@@ -279,7 +284,7 @@ int ChromaKeyUseColorPicker::handle_event()
 
 
 ChromaKeyColorThread::ChromaKeyColorThread(ChromaKey *plugin, ChromaKeyWindow *gui)
- : ColorThread(1, _("Inner color"))
+ : ColorPicker(1, _("Inner color"))
 {
        this->plugin = plugin;
        this->gui = gui;