print out directory name of LV2 path; Andrew patch for ubuntu 16 new libaom
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / renderengine.C
index dd03089cd97521690c16485180e0c7df1ab9db27..7e7a52d75163c108adfe90165b8845b0b07eaa70 100644 (file)
@@ -24,6 +24,7 @@
 #include "asset.h"
 #include "audiodevice.h"
 #include "bcsignals.h"
+#include "canvas.h"
 #include "condition.h"
 #include "edl.h"
 #include "edlsession.h"
@@ -61,7 +62,7 @@ RenderEngine::RenderEngine(PlaybackEngine *playback_engine,
        do_video = 0;
        interrupted = 0;
        this->preferences = new Preferences;
-       this->command = new TransportCommand;
+       this->command = new TransportCommand(preferences);
        this->preferences->copy_from(preferences);
        edl = 0;
 
@@ -491,3 +492,11 @@ void RenderEngine::wait_done()
        render_active->unlock();
 }
 
+void RenderEngine::update_scope(VFrame *frame)
+{
+       if( !video || !output || !output->scope_on() ) return;
+       output->lock_canvas("RenderEngine::update_scope");
+       output->process_scope(video, frame);
+       output->unlock_canvas();
+}
+