fix for video-monitor (xjadeo >= 0.7.8 is started w/o jack-transport)
authorRobin Gareus <robin@gareus.org>
Thu, 24 Jul 2014 16:25:15 +0000 (18:25 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 25 Jul 2014 10:59:41 +0000 (12:59 +0200)
gtk2_ardour/video_monitor.cc

index c48999c3cd1b273005a01609c7501ecde4e730cf..19db6ab7b2553f1edb1def553be90604ed671de3 100644 (file)
@@ -128,7 +128,6 @@ VideoMonitor::open (std::string filename)
        if (!is_started()) return;
        manually_seeked_frame = 0;
        osdmode = 10; // 1: frameno, 2: timecode, 8: box
-       sync_by_manual_seek = false;
        starting = 15;
        process->write_to_stdin("load " + filename + "\n");
        process->write_to_stdin("set fps -1\n");
@@ -162,6 +161,8 @@ VideoMonitor::open (std::string filename)
                /* TODO once every two second or so -- state_clk_divide hack below */
                state_connection = ARDOUR_UI::RapidScreenUpdate.connect (sigc::mem_fun (*this, &VideoMonitor::querystate));
        }
+       sync_by_manual_seek = true;
+       clock_connection = ARDOUR_UI::SuperRapidScreenUpdate.connect (sigc::mem_fun (*this, &VideoMonitor::srsupdate));
        xjadeo_sync_setup();
 }