summaryrefslogtreecommitdiff
path: root/gtk2_ardour/video_monitor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-07-24 18:25:15 +0200
committerRobin Gareus <robin@gareus.org>2014-07-25 12:59:41 +0200
commitcd96ae8e8a822a08205f8014753e0c477496cc19 (patch)
tree4880aacbadebf1e40e9ce380a57a688520de547f /gtk2_ardour/video_monitor.cc
parent8d2c28043883ae4d456f41d8e3635acef5ecdb98 (diff)
fix for video-monitor (xjadeo >= 0.7.8 is started w/o jack-transport)
Diffstat (limited to 'gtk2_ardour/video_monitor.cc')
-rw-r--r--gtk2_ardour/video_monitor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/video_monitor.cc b/gtk2_ardour/video_monitor.cc
index c48999c3cd..19db6ab7b2 100644
--- a/gtk2_ardour/video_monitor.cc
+++ b/gtk2_ardour/video_monitor.cc
@@ -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();
}