anonymous contribution for much improved ChromakeyHSV plugin menu with boxes to set...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / resourcethread.C
index 4c28c0325a66a7723b2f7866132fed540a302d52..18b8dc813fe65e76f08f9554f28025bd428356d9 100644 (file)
@@ -327,7 +327,7 @@ void ResourceThreadBase::open_render_engine(EDL *nested_edl,
 
        if( !render_engine ) {
                MWindow *mwindow = resource_thread->mwindow;
-               TransportCommand command;
+               TransportCommand command(mwindow->preferences);
                command.command = do_audio ? NORMAL_FWD : CURRENT_FRAME;
                command.get_edl()->copy_all(nested_edl);
                command.change_type = CHANGE_ALL;
@@ -452,7 +452,8 @@ void ResourceVideoThread::do_video(VResourceThreadItem *item)
                        item->pixmap->draw_vframe(temp_picon2,
                                item->picon_x, item->picon_y,
                                item->picon_w, item->picon_h, 0, 0);
-                       gui->update(0, IGNORE_THREAD, 0, 0, 0, 0, 0);
+                       TimelinePane *pane = gui->pane[item->pane_number];
+                       if( pane ) pane->update(0, IGNORE_THREAD, 0, 0);
                }
        }