vtl: debug xjadeo communication

This commit is contained in:
Robin Gareus 2013-03-28 16:59:01 +01:00
parent 950643462a
commit 745804fd7e
2 changed files with 4 additions and 1 deletions

View 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;

View 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());
}