summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-bad-1.0.recipe
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-12-15 17:36:56 +0900
committerSeungha Yang <seungha@centricular.com>2022-02-09 04:35:40 +0900
commit799452310390f8ee5cc26b8f6b18e8c0b517f292 (patch)
tree4b87dd3f95a5d3416971215ee93b17dbc6103a37 /recipes/gst-plugins-bad-1.0.recipe
parent2fefdb9f0f74f49dfa1a7ca9783829c78adc471c (diff)
gst-plugins-bad: Ship QSV plugin for Windows package
On Windows, d3d11 is the only build-time dependency. So, we can ship it without external SDK, even for MinGW cross-compile as well. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/805>
Diffstat (limited to 'recipes/gst-plugins-bad-1.0.recipe')
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index 0fba8abb..8b70a4c1 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -67,6 +67,7 @@ class Recipe(custom.GStreamer):
'neon': 'disabled',
'openal': 'disabled',
'opencv': 'disabled',
+ 'qsv': 'disabled',
'sndfile': 'disabled',
'teletext': 'disabled',
'voamrwbenc': 'disabled',
@@ -502,6 +503,8 @@ class Recipe(custom.GStreamer):
if self.meson_options['d3d11'] == 'enabled':
self.files_libs += ['libgstd3d11-1.0']
+ # qsv depends on d3d11
+ self.enable_plugin('qsv', 'codecs')
if self.config.target_platform in (Platform.LINUX, Platform.DARWIN, Platform.IOS):
self.meson_options['shm'] = 'enabled'
@@ -553,6 +556,8 @@ class Recipe(custom.GStreamer):
self.disable_plugin('rsvg', 'codecs', dep='librsvg')
self.disable_plugin('voaacenc', 'codecs_restricted', dep='vo-aacenc')
self.disable_plugin('zbar', 'codecs', dep='zbar')
+ # Not tested, and it needs some work on libmfx dispatcher build for UWP
+ self.disable_plugin('qsv', 'codecs')
if self.config.variants.nodebug:
self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME')