mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
iosassetsrc: Print the correct URI if it was rejected
We were printing the previously set URI instead of the new one.
This commit is contained in:
parent
c7e4217121
commit
0275007107
1 changed files with 2 additions and 2 deletions
|
@ -206,9 +206,9 @@ gst_ios_asset_src_set_uri (GstIOSAssetSrc * src, const gchar * uri, GError **err
|
|||
url = [[NSURL alloc] initWithString:nsuristr];
|
||||
|
||||
if (url == NULL) {
|
||||
GST_ERROR_OBJECT (src, "Invalid URI: %s", src->uri);
|
||||
GST_ERROR_OBJECT (src, "Invalid URI: %s", uri);
|
||||
g_set_error (err, GST_URI_ERROR, GST_URI_ERROR_BAD_URI,
|
||||
"Invalid URI: %s", src->uri);
|
||||
"Invalid URI: %s", uri);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue