summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-01-21 10:07:25 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-01-21 10:07:45 +0200
commit1c7efc274241c146189360f2af73f74bcaebfa45 (patch)
tree91dd9b18fb6e47a77b20e8489432ecc70d1620a4
parentf528f38a98c40fc34d13b8ebf2ad6c4f0a27e700 (diff)
gst-libav: Include libavfilter as required by the deinterlacer now
-rw-r--r--recipes/gst-libav-1.0-static.recipe7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes/gst-libav-1.0-static.recipe b/recipes/gst-libav-1.0-static.recipe
index c415e313..5bc7534b 100644
--- a/recipes/gst-libav-1.0-static.recipe
+++ b/recipes/gst-libav-1.0-static.recipe
@@ -41,7 +41,7 @@ class Recipe(custom.GStreamerStatic):
self.append_env['CFLAGS'] += ' -DGST_LEVEL_MAX=GST_LEVEL_FIXME'
super(Recipe, self).prepare()
- for f in ['libavcodec', 'libavformat', 'libavutil', 'libswscale', 'libswresample']:
+ for f in ['libavcodec', 'libavformat', 'libavutil', 'libswscale', 'libswresample', 'libavfilter']:
for ext in ['.a', '.la']:
path = os.path.join('lib', f + ext)
self.files_plugins_codecs_restricted_devel.append(path)
@@ -72,7 +72,7 @@ class Recipe(custom.GStreamerStatic):
shell.replace(os.path.join(libav_path, 'config.h'), replacements)
def post_install(self):
- for n in ['avutil', 'swresample', 'avcodec', 'avformat', 'swscale']:
+ for n in ['avutil', 'swresample', 'avcodec', 'avformat', 'swscale', 'avfilter']:
name = 'lib%s' % n
lib = '%s.a' % name
path = os.path.join(self.build_dir, 'gst-libs', 'ext', 'libav',
@@ -87,6 +87,8 @@ class Recipe(custom.GStreamerStatic):
deps += ['avutil']
if n == 'swresample':
deps += ['avutil']
+ if n == 'avfilter':
+ deps += ['avutil', 'avcodec', 'avformat']
libtool_la = LibtoolLibrary(n, None, None, None, self.config.libdir,
self.config.target_platform, deps)
libtool_la.change_value ('dlname', '')
@@ -101,5 +103,6 @@ class Recipe(custom.GStreamerStatic):
'-lavutil': os.path.join(self.config.libdir, 'libavutil.la'),
'-lswscale': os.path.join(self.config.libdir, 'libswscale.la'),
'-lswresample': os.path.join(self.config.libdir, 'libswresample.la'),
+ '-lavfilter': os.path.join(self.config.libdir, 'libavfilter.la'),
})