From fc6b17b6d28c2fd52fbcaf61af0e7ba4c1db2c77 Mon Sep 17 00:00:00 2001 From: Sergei Saveliev Date: Tue, 16 Aug 2016 18:46:49 +0300 Subject: avfassetsrc: Don't escape the URI another time in another location too One location was forgotten in a913a0b9679dd58945ad105d240db45595fdaba6 https://bugzilla.gnome.org/show_bug.cgi?id=767492 --- sys/applemedia/avfassetsrc.m | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/applemedia/avfassetsrc.m b/sys/applemedia/avfassetsrc.m index e589cf3f4..3146906e0 100644 --- a/sys/applemedia/avfassetsrc.m +++ b/sys/applemedia/avfassetsrc.m @@ -900,16 +900,13 @@ gst_avf_asset_src_uri_handler_init (gpointer g_iface, gpointer iface_data) { NSString *str; NSURL *url; - gchar *escaped_uri; - GST_INFO ("Initializing AVFAssetReader with uri:%s", uri); + GST_INFO ("Initializing AVFAssetReader with uri: %s", uri); *error = NULL; - escaped_uri = g_uri_escape_string (uri, ":/", TRUE); - str = [NSString stringWithUTF8String: escaped_uri]; + str = [NSString stringWithUTF8String: uri]; url = [[NSURL alloc] initWithString: str]; asset = [[AVAsset assetWithURL: url] retain]; - g_free (escaped_uri); if (!asset.playable) { *error = g_error_new (GST_AVF_ASSET_SRC_ERROR, GST_AVF_ASSET_ERROR_NOT_PLAYABLE, -- cgit v1.2.3