summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-09-23 19:59:04 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-09-28 20:53:27 +0200
commit6a5d1cca198a85b7378effe763b82869e176109b (patch)
tree7a6af2e55a1c0b1c261c0b6a19a635ce7ccb4f22 /data
parentc2f0b04e19373ae8528ce8fa7c76cae8d16b67d4 (diff)
ios: Fix gst_ios_init.m for GStreamer 1.0
Diffstat (limited to 'data')
-rw-r--r--data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m b/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m
index 02207326..28b46852 100644
--- a/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m
+++ b/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m
@@ -37,7 +37,7 @@ gst_ios_init (void)
/* Lower the ranks of filesrc and giosrc so iosavassetsrc is
* tried first in gst_element_make_from_uri() for file:// */
- reg = gst_registry_get_default();
+ reg = gst_registry_get();
plugin = gst_registry_lookup_feature(reg, "filesrc");
if (plugin)
gst_plugin_feature_set_rank(plugin, GST_RANK_SECONDARY);