mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
playbin2: tone down debug message about file URIs with spaces
Complain a bit less loudly about URIs that have not been escaped properly.
This commit is contained in:
parent
e88e47cd24
commit
1bf8fa1e5f
1 changed files with 4 additions and 4 deletions
|
@ -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); */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue