summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-06-13 09:20:02 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-06-13 09:21:50 +0300
commit02750071071f77149d5dab9a6cb73d25b63177af (patch)
treeef234cb6b15e2547b09591d44b7c1f01aae23f52 /sys
parentc7e421712155cc01b42bee9adea253134ceea5c1 (diff)
downloadgstreamer-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.m4
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;
}