From 1bf8fa1e5f2efd173f913325865e677ff7cb70e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 30 Nov 2011 23:58:19 +0000 Subject: [PATCH] playbin2: tone down debug message about file URIs with spaces Complain a bit less loudly about URIs that have not been escaped properly. --- gst/playback/gstplaybin2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 5c969f91ab..74c5a1b204 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -1344,12 +1344,12 @@ gst_play_bin_set_uri (GstPlayBin * playbin, const gchar * uri) if (!gst_playbin_uri_is_valid (playbin, uri)) { if (g_str_has_prefix (uri, "file:")) { - GST_ERROR_OBJECT (playbin, "malformed file URI '%s' - make sure to " - "escape spaces and non-ASCII characters properly and specify an " - "absolute path. Use gst_filename_to_uri() to convert filenames " + GST_WARNING_OBJECT (playbin, "not entirely correct file URI '%s' - make " + "sure to escape spaces and non-ASCII characters properly and specify " + "an absolute path. Use gst_filename_to_uri() to convert filenames " "to URIs", uri); } else { - GST_ERROR_OBJECT (playbin, "malformed URI '%s'", uri); + /* GST_ERROR_OBJECT (playbin, "malformed URI '%s'", uri); */ } }