From 745804fd7ea0469ed24c691127ccd3a2aef64c3a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 28 Mar 2013 16:59:01 +0100 Subject: vtl: debug xjadeo communication --- gtk2_ardour/system_exec.cc | 3 +++ gtk2_ardour/video_monitor.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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()); } -- cgit v1.2.3