diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-09-07 20:05:37 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-09-07 20:42:19 +0530 |
commit | 226844bb03629f400445de4031966fcff3214d3c (patch) | |
tree | 5fb6af18200af2ecb9b5930ba29b85b16ae15ec7 /recipes/gst-libav-1.0.recipe | |
parent | 6dee67a090736b3ac4001023fc656d6c0a7fc322 (diff) |
gst-libav-1.0.recipe: Correctly set extra libav configure flags
It was missed in the macOS case.
Diffstat (limited to 'recipes/gst-libav-1.0.recipe')
-rw-r--r-- | recipes/gst-libav-1.0.recipe | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes/gst-libav-1.0.recipe b/recipes/gst-libav-1.0.recipe index 4f5c61b0..b1b7b433 100644 --- a/recipes/gst-libav-1.0.recipe +++ b/recipes/gst-libav-1.0.recipe @@ -59,12 +59,10 @@ class Recipe(custom.GStreamer): # https://issuetracker.google.com/issues/37067983 # https://trac.ffmpeg.org/ticket/4928 libavextraconf += " --disable-asm" - self.configure_options += ' --with-libav-extra-configure="%s"' % libavextraconf elif self.config.target_platform == Platform.IOS: # Some optimisations that were previously silently disabled # cause warnings now. Ignore them libavextraconf += " --extra-cflags='-Wno-ignored-optimization-argument' " - self.configure_options += ' --with-libav-extra-configure="%s"' % libavextraconf elif self.config.target_platform == Platform.WINDOWS: # FIXME: Remove when we update to ffmpeg 4.0 which fixes targetting Vista if self.config.platform == Platform.WINDOWS: @@ -77,7 +75,7 @@ class Recipe(custom.GStreamer): else: winflags = '-UWINVER -U_WIN32_WINNT -DWINVER=0x0501 -D_WIN32_WINNT=0x0501' libavextraconf += "--extra-cflags='{}'".format(winflags) - self.configure_options += ' --with-libav-extra-configure="{}" '.format(libavextraconf) + self.configure_options += ' --with-libav-extra-configure="{}" '.format(libavextraconf) if self.config.variants.nodebug: self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME') |