summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2021-04-01 17:59:18 +0200
committerMatthias Clasen <mclasen@redhat.com>2021-07-20 14:00:25 -0400
commit9f6fb161e2f8dfea0e99abf98d2f39adeb994b56 (patch)
treef4b86eb2eddcc37fe109130ecd860df43037a0f0 /meson_options.txt
parent3883a987713abc2ee2ba2a97cd0e94bfcc0f0144 (diff)
downloadgtk+-9f6fb161e2f8dfea0e99abf98d2f39adeb994b56.tar.gz
build: Set proper defaults for media backends
GTK supports webm playback, which means a backend should always be compiled. The ffmpeg backend however is incomplete (no audio) and as such, we don't want people to end up with it accidentally. Since we don't want to drag an entire gstreamer build into our ci on MacOs or msvc, explicitly disable the gstreame media backend there.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 402caec5fb..2223cb7964 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -26,15 +26,17 @@ option('macos-backend',
description : 'Enable the macOS gdk backend (only when building on macOS)')
# Media backends
+# For distros: GTK guarantees support for WebM video (VP8 and VP9), so a supported build
+# should provide that.
option('media-ffmpeg',
type: 'feature',
- value: 'auto',
- description : 'Build the ffmpeg media backend')
+ value: 'disabled',
+ description : 'Build the experimental ffmpeg media backend')
option('media-gstreamer',
type: 'feature',
- value: 'auto',
+ value: 'enabled',
description : 'Build the gstreamer media backend')
# Print backends