From f0bb986b33519f3dd00db0110147024d72f86a62 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 15 Mar 2013 02:09:04 +0100 Subject: [PATCH] vtl: print (debug) messages if xjadeo is not available --- gtk2_ardour/add_video_dialog.cc | 1 + gtk2_ardour/video_timeline.cc | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/gtk2_ardour/add_video_dialog.cc b/gtk2_ardour/add_video_dialog.cc index 3e9b3d3b08..05d7a27888 100644 --- a/gtk2_ardour/add_video_dialog.cc +++ b/gtk2_ardour/add_video_dialog.cc @@ -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); } diff --git a/gtk2_ardour/video_timeline.cc b/gtk2_ardour/video_timeline.cc index 09301bdcec..3bcb397b68 100644 --- a/gtk2_ardour/video_timeline.cc +++ b/gtk2_ardour/video_timeline.cc @@ -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; } } -- 2.30.2