diff options
author | Sergei Saveliev <saveliev.sergei@gmail.com> | 2016-08-16 18:46:49 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-08-16 18:47:58 +0300 |
commit | fc6b17b6d28c2fd52fbcaf61af0e7ba4c1db2c77 (patch) | |
tree | b769bb3739d5dc3bd1a63ce19ff72d658390491a | |
parent | 0fc3c0f9dc5b24e89419b27af47a1cdf1a27b03e (diff) |
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
-rw-r--r-- | sys/applemedia/avfassetsrc.m | 7 |
1 files 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, |