summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-ugly-1.0.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-06-08 11:09:50 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-06-16 04:07:59 +0530
commitbca3cdf24308a8e5283ce2d09f54aeaf51a3de61 (patch)
treea03936a06c4bbbbbbce1fe4c3dd037d694a567d4 /recipes/gst-plugins-ugly-1.0.recipe
parentebd908be8044e936674588d8a9e6a08f35722e64 (diff)
gst-plugins-ugly-1.0.recipe: Disable features on UWP
x264 can be enabled, but it needs our meson port to be updated. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/511>
Diffstat (limited to 'recipes/gst-plugins-ugly-1.0.recipe')
-rw-r--r--recipes/gst-plugins-ugly-1.0.recipe8
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')