summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-04-15 15:57:47 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-04-16 17:42:47 +0200
commit0dcb22ed3ad7fed401004fcdf3980b59abc2da65 (patch)
treecedd2c97ea552dac190eb6430d854e55064f6350
parentdde4533e358ef9a07f197626e07c32ceee0dbcdb (diff)
gstreamer-ios-templates: leave the "Core" enabled by default
-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]