summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-bad-1.0.recipe
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2022-04-24 20:56:14 +0900
committerSeungha Yang <seungha@centricular.com>2022-04-24 20:57:17 +0900
commit500bd288a30b5c0641344568d73108deb5a2af53 (patch)
tree316a747733971e9fdcf99b46f2e75c67d8554c51 /recipes/gst-plugins-bad-1.0.recipe
parent3468939c7029a9eaefc2b365b6f80ece168f6ea9 (diff)
gst-plugins-bad: Ship nvcodec only for Windows and Linux target
... and stop building it for macOS See also https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2283 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/855>
Diffstat (limited to 'recipes/gst-plugins-bad-1.0.recipe')
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index f8ba2330..8e668f65 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -25,7 +25,6 @@ class Recipe(custom.GStreamer):
'hls-crypto': 'openssl',
'kate': 'enabled',
'ladspa': 'auto', # lrdf is optional
- 'nvcodec': 'enabled',
'openh264': 'enabled',
'openjpeg': 'enabled',
'opus': 'enabled',
@@ -66,6 +65,7 @@ class Recipe(custom.GStreamer):
'mplex': 'disabled',
'musepack': 'disabled',
'neon': 'disabled',
+ 'nvcodec': 'disabled',
'openal': 'disabled',
'opencv': 'disabled',
'qsv': 'disabled',
@@ -231,7 +231,6 @@ class Recipe(custom.GStreamer):
'lib/gstreamer-1.0/libgstspandsp%(mext)s',
'lib/gstreamer-1.0/libgstsbc%(mext)s',
'lib/gstreamer-1.0/libgstzbar%(mext)s',
- 'lib/gstreamer-1.0/libgstnvcodec%(mext)s',
]
files_plugins_codecs_devel = [
@@ -264,7 +263,6 @@ class Recipe(custom.GStreamer):
'lib/gstreamer-1.0/libgstspandsp.a', 'lib/gstreamer-1.0/libgstspandsp.la',
'lib/gstreamer-1.0/libgstsbc.a', 'lib/gstreamer-1.0/libgstsbc.la',
'lib/gstreamer-1.0/libgstzbar.a', 'lib/gstreamer-1.0/libgstzbar.la',
- 'lib/gstreamer-1.0/libgstnvcodec.a', 'lib/gstreamer-1.0/libgstnvcodec.la',
]
platform_files_plugins_codecs = {
@@ -514,6 +512,9 @@ class Recipe(custom.GStreamer):
# qsv and amfcodec depend on d3d11
self.enable_plugin('amfcodec', 'codecs')
+ if self.config.target_platform in (Platform.LINUX, Platform.WINDOWS):
+ self.enable_plugin('nvcodec', 'codecs')
+
if self.config.target_platform in (Platform.LINUX, Platform.DARWIN, Platform.IOS):
self.meson_options['shm'] = 'enabled'
@@ -533,7 +534,6 @@ class Recipe(custom.GStreamer):
if self.config.target_platform in (Platform.ANDROID, Platform.IOS):
self.disable_plugin('resindvd', 'dvd', dep='libdvdnav')
- self.disable_plugin('nvcodec', 'codecs')
# Recipes that need autoreconf hang on the Windows CI
if self.config.platform == Platform.WINDOWS: