meson: Explicitly use cpp_std=c++11 for dxva
authorNirbheek Chauhan <nirbheek@centricular.com>
Sun, 13 Oct 2024 17:34:58 +0000 (23:04 +0530)
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>
Mon, 14 Oct 2024 09:44:48 +0000 (10:44 +0100)
dxva is built unconditionally on all platforms where introspection is
enabled, so let's fix the build on macOS so that introspection can be
enabled there: https://gitlab.freedesktop.org/nirbheek/cerbero/-/jobs/65009118

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7661>

subprojects/gst-plugins-bad/gst-libs/gst/dxva/meson.build

index a00d03f25cb88046908568b449059cc7746f2351..6eba003556d28d16a6783c252dfacd40c366d3cf 100644 (file)
@@ -38,7 +38,8 @@ gstdxva = library('gstdxva-' + api_version,
   version : libversion,
   soversion : soversion,
   install : true,
-  dependencies : [gstvideo_dep, gstcodecs_dep]
+  dependencies : [gstvideo_dep, gstcodecs_dep],
+  override_options: ['cpp_std=c++11'],
 )
 
 library_def = {'lib': gstdxva}