diff options
Diffstat (limited to 'recipes/gst-plugins-ugly-1.0.recipe')
-rw-r--r-- | recipes/gst-plugins-ugly-1.0.recipe | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/gst-plugins-ugly-1.0.recipe b/recipes/gst-plugins-ugly-1.0.recipe index 3b9aef05..71dd6951 100644 --- a/recipes/gst-plugins-ugly-1.0.recipe +++ b/recipes/gst-plugins-ugly-1.0.recipe @@ -48,8 +48,14 @@ class Recipe(custom.GStreamer): files_lang = ['gst-plugins-ugly-1.0'] def prepare(self): - if self.config.target_platform in (Platform.ANDROID, Platform.IOS): + if self.using_msvc() or self.config.target_platform in (Platform.ANDROID, Platform.IOS): self.disable_plugin('dvdread', 'dvd', dep='libdvdread') + if self.using_msvc(): + self.disable_plugin('a52dec', 'codecs_restricted', dep='a52dec') + self.disable_plugin('amrnb', 'codecs_restricted', dep='opencore-amr') + self.disable_plugin('amrwbdec', 'codecs_restricted', dep='opencore-amr') + self.disable_plugin('x264', 'codecs_restricted', dep='x264') + if self.config.variants.nodebug: self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME') |