vtl: debug xjadeo communication
This commit is contained in:
parent
950643462a
commit
745804fd7e
@ -649,6 +649,9 @@ SystemExec::write_to_stdin(std::string d, size_t len)
|
|||||||
}
|
}
|
||||||
if (r != (len-c)) {
|
if (r != (len-c)) {
|
||||||
::pthread_mutex_unlock(&write_lock);
|
::pthread_mutex_unlock(&write_lock);
|
||||||
|
#if 1 // debug
|
||||||
|
printf("XXX: child process communication breakdown.\n");
|
||||||
|
#endif
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -41,7 +41,7 @@ VideoMonitor::VideoMonitor (PublicEditor *ed, std::string xjadeo_bin_path)
|
|||||||
clock_connection = sigc::connection();
|
clock_connection = sigc::connection();
|
||||||
debug_enable = false;
|
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->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());
|
process->Terminated.connect (*this, invalidator (*this), boost::bind (&VideoMonitor::terminated, this), gui_context());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user