vtl: debug xjadeo communication
authorRobin Gareus <robin@gareus.org>
Thu, 28 Mar 2013 15:59:01 +0000 (16:59 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 28 Mar 2013 15:59:01 +0000 (16:59 +0100)
gtk2_ardour/system_exec.cc
gtk2_ardour/video_monitor.cc

index 22e71d75343a4b2d47e570a398f96ef18040fe51..a01351c92e7c5809c46fa5e4af5f919e34aef09a 100644 (file)
@@ -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;
index 3abc11be28610d162ac6d6a724f9109313a8a469..f29712e326a570bd9a9ba6d570a80b1ec87c5c26 100644 (file)
@@ -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());
 }