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
@ -1344,12 +1344,12 @@ gst_play_bin_set_uri (GstPlayBin * playbin, const gchar * uri)
|
|||||||
|
|
||||||
if (!gst_playbin_uri_is_valid (playbin, uri)) {
|
if (!gst_playbin_uri_is_valid (playbin, uri)) {
|
||||||
if (g_str_has_prefix (uri, "file:")) {
|
if (g_str_has_prefix (uri, "file:")) {
|
||||||
GST_ERROR_OBJECT (playbin, "malformed file URI '%s' - make sure to "
|
GST_WARNING_OBJECT (playbin, "not entirely correct file URI '%s' - make "
|
||||||
"escape spaces and non-ASCII characters properly and specify an "
|
"sure to escape spaces and non-ASCII characters properly and specify "
|
||||||
"absolute path. Use gst_filename_to_uri() to convert filenames "
|
"an absolute path. Use gst_filename_to_uri() to convert filenames "
|
||||||
"to URIs", uri);
|
"to URIs", uri);
|
||||||
} else {
|
} else {
|
||||||
GST_ERROR_OBJECT (playbin, "malformed URI '%s'", uri);
|
/* GST_ERROR_OBJECT (playbin, "malformed URI '%s'", uri); */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user