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-30 09:59:04 +0200
commitbd045e2c0fb64170acf278f378486f4ecffeb8c7 (patch)
treed9239b593a4f7e6059b89708d488188077add8a1 /data
parent80b7a32fb105f844504cc4a39aa975c9d236fb04 (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);