summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/gstreamer-ios-templates.recipe6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/gstreamer-ios-templates.recipe b/recipes/gstreamer-ios-templates.recipe
index ee26bf9..576fa0d 100644
--- a/recipes/gstreamer-ios-templates.recipe
+++ b/recipes/gstreamer-ios-templates.recipe
@@ -50,7 +50,11 @@ class Recipe(recipe.Recipe):
regs = []
for c, ps in plugins.iteritems():
c = c.upper()
- plugins_h.write(DEFINE_TPL % c)
+ define = DEFINE_TPL % c
+ # By default enable only the core plugins
+ if c != 'CORE':
+ define = '//%s' % define
+ plugins_h.write(define)
for p in ps:
if p in replacements:
p = replacements[p]