diff options
author | Robin Gareus <robin@gareus.org> | 2013-03-28 16:59:01 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-03-28 16:59:01 +0100 |
commit | 745804fd7ea0469ed24c691127ccd3a2aef64c3a (patch) | |
tree | b656e198fc539f69a1d1bd7dbb1e29d02192aba5 | |
parent | 950643462a2d5d3046e87437b9b51e414247c7a2 (diff) |
vtl: debug xjadeo communication
-rw-r--r-- | gtk2_ardour/system_exec.cc | 3 | ||||
-rw-r--r-- | gtk2_ardour/video_monitor.cc | 2 |
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()); } |