diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-06-13 09:20:02 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-06-13 09:21:50 +0300 |
commit | 02750071071f77149d5dab9a6cb73d25b63177af (patch) | |
tree | ef234cb6b15e2547b09591d44b7c1f01aae23f52 /sys | |
parent | c7e421712155cc01b42bee9adea253134ceea5c1 (diff) | |
download | gstreamer-plugins-bad-02750071071f77149d5dab9a6cb73d25b63177af.tar.gz |
iosassetsrc: Print the correct URI if it was rejected
We were printing the previously set URI instead of the new one.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/applemedia/iosassetsrc.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/applemedia/iosassetsrc.m b/sys/applemedia/iosassetsrc.m index fd83657ff..e237c2ec5 100644 --- a/sys/applemedia/iosassetsrc.m +++ b/sys/applemedia/iosassetsrc.m @@ -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; } |