RESOLVED FIXED310634
[CMake][GStreamer] Allow toggling USE_GSTREAMER to disable all multimedia support
https://bugs.webkit.org/show_bug.cgi?id=310634
Summary [CMake][GStreamer] Allow toggling USE_GSTREAMER to disable all multimedia sup...
Adrian Perez
Reported 2026-03-24 07:14:58 PDT
Historically disabling multimedia support has been achieved with: cmake -DPORT=<WPE|GTK> -DENABLE_VIDEO=OFF ... Then WebAudio was added to the mix, and we started using: cmake -DPORT=<WPE|GTK> -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF ... Now we also have WebCodecs, which means this is becoming annoying: cmake -DPORT=<WPE|GTK> -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DENABLE_WEB_CODECS=OFF ... There is in interval USE_GSTREAMER variable which could be promoted to an option, which along with adding the needed dependencies would allow to use: cmake -DPORT=<WPE|GTK> -DUSE_GSTREAMER=OFF ... This would be handy because in nearly in all situations where multimedia support gets disabled are builds targeting embedded use-cases where the goal is to 1.) actually disable features that won't be used, and 2.) at the same time completely avoid needing GStreamer.
Attachments
Adrian Perez
Comment 1 2026-03-24 13:28:02 PDT
Oh, and we also have ENABLE_SPEECH_SYNTHESIS which also needs USE_GSTREAMER.
Philippe Normand
Comment 2 2026-03-24 13:30:17 PDT
The virus is spreading.
Adrian Perez
Comment 3 2026-03-24 13:35:47 PDT
(In reply to Philippe Normand from comment #2) > The virus is spreading. 🤣
Adrian Perez
Comment 4 2026-03-24 15:33:55 PDT
EWS
Comment 5 2026-03-24 17:57:30 PDT
Committed 309883@main (92179a19a0f1): <https://commits.webkit.org/309883@main> Reviewed commits have been landed. Closing PR #61274 and removing active labels.
Radar WebKit Bug Importer
Comment 6 2026-03-24 17:58:12 PDT
Note You need to log in before you can comment on or make changes to this bug.