vtl: print (debug) messages if xjadeo is not available

This commit is contained in:
Robin Gareus 2013-03-15 02:09:04 +01:00
parent 333279ccf8
commit f0bb986b33
2 changed files with 9 additions and 0 deletions

View File

@ -217,6 +217,7 @@ AddVideoDialog::AddVideoDialog (Session* s)
&& Config->get_video_server_docroot().size() > 0) {
xjadeo_checkbox.set_active(true); /* set in ardour_ui.cpp ?! */
} else {
printf("xjadeo was not found or video-server docroot is unset (remote video-server)\n");
xjadeo_checkbox.set_active(false);
xjadeo_checkbox.set_sensitive(false);
}

View File

@ -521,7 +521,11 @@ VideoTimeLine::video_file_info (std::string filename, bool local)
vmonitor->open(video_filename);
}
} else if (!local_file) {
#if 1 /* temp debug/devel message */
// TODO - call xjremote remotely.
printf("the given video file can not be accessed on localhost, video monitoring is not currently supported for this case\n");
GuiUpdate("set-xjadeo-sensitive-off");
#endif
}
VtlUpdate();
return true;
@ -650,6 +654,10 @@ VideoTimeLine::find_xjadeo () {
}
else {
_xjadeo_bin = X_("");
warning << _("Video-monitor 'xjadeo' was not found. Please install http://xjadeo.sf.net/ "
"(a custom path to xjadeo can be specified by setting the XJREMOTE environment variable. "
"It should point to an application compatible with xjadeo's remote-control interface 'xjremote').")
<< endmsg;
}
}