summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/system_exec.cc3
-rw-r--r--gtk2_ardour/video_monitor.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/system_exec.cc b/gtk2_ardour/system_exec.cc
index 22e71d7534..a01351c92e 100644
--- a/gtk2_ardour/system_exec.cc
+++ b/gtk2_ardour/system_exec.cc
@@ -649,6 +649,9 @@ SystemExec::write_to_stdin(std::string d, size_t len)
}
if (r != (len-c)) {
::pthread_mutex_unlock(&write_lock);
+#if 1 // debug
+ printf("XXX: child process communication breakdown.\n");
+#endif
return c;
}
break;
diff --git a/gtk2_ardour/video_monitor.cc b/gtk2_ardour/video_monitor.cc
index 3abc11be28..f29712e326 100644
--- a/gtk2_ardour/video_monitor.cc
+++ b/gtk2_ardour/video_monitor.cc
@@ -41,7 +41,7 @@ VideoMonitor::VideoMonitor (PublicEditor *ed, std::string xjadeo_bin_path)
clock_connection = sigc::connection();
debug_enable = false;
- process = new SystemExec(xjadeo_bin_path);
+ process = new SystemExec(xjadeo_bin_path, X_("-R"));
process->ReadStdout.connect (*this, invalidator (*this), boost::bind (&VideoMonitor::parse_output, this, _1 ,_2), gui_context());
process->Terminated.connect (*this, invalidator (*this), boost::bind (&VideoMonitor::terminated, this), gui_context());
}