playbin2: tone down debug message about file URIs with spaces
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 30 Nov 2011 23:58:19 +0000 (23:58 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 30 Nov 2011 23:58:19 +0000 (23:58 +0000)
Complain a bit less loudly about URIs that have not been
escaped properly.

gst/playback/gstplaybin2.c

index 5c969f9..74c5a1b 100644 (file)
@@ -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); */
     }
   }