Skip to contentSkip to conversation

Revert "package/ffmpeg: add support for pulseaudio"

PATCH In review Florian Larysch 2 participants 2 messages Jul 15, 2025 – Jul 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "package/ffmpeg: add support for pulseaudio"

This reverts commit e44aff6b1b1a5237b3f5cae019982370671dbd42 which added support for linking ffmpeg against libpulse if it is present to provide libavdevice support for the PulseAudio protocol. However, it turns out that this creates a dependency cycle when BR2_PACKAGE_LIBSOXR is enabled, since the pulseaudio daemon can use libsoxr for resampling and libsoxr can use the FFT implementation from ffmpeg.

Resolving this would probably mean breaking up the pulseaudio package into the client libraries and the daemon proper (a standalone libpulse without the daemon is still useful since it can talk to a remote daemon via the network or more likely today talk to a local instance of PipeWire, which also implements the PulseAudio protocol).

For now, break the dependency cycle by reverting to the original state (no pulseaudio client support in ffmpeg).

---
 package/ffmpeg/ffmpeg.mk | 7 -------
 1 file changed, 7 deletions(-)
package/ffmpeg/ffmpeg.mk +0 -7
index 9ba7ac0f61..2d65623926 100644
@@ -94,13 +94,6 @@ else
 FFMPEG_CONF_OPTS += --disable-libjack
 endif
 
-ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
-FFMPEG_DEPENDENCIES += pulseaudio
-FFMPEG_CONF_OPTS += --enable-libpulse
-else
-FFMPEG_CONF_OPTS += --disable-libpulse
-endif
-
 ifeq ($(BR2_PACKAGE_LIBV4L),y)
 FFMPEG_DEPENDENCIES += libv4l
 FFMPEG_CONF_OPTS += --enable-libv4l2
Signature · 6 lines
2.49.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 13 lines · Florian Larysch

This reverts commit e44aff6b1b1a5237b3f5cae019982370671dbd42 which added support for linking ffmpeg against libpulse if it is present to provide libavdevice support for the PulseAudio protocol. However, it turns out that this creates a dependency cycle when BR2_PACKAGE_LIBSOXR is enabled, since the pulseaudio daemon can use libsoxr for resampling and libsoxr can use the FFT implementation from ffmpeg.

Resolving this would probably mean breaking up the pulseaudio package into the client libraries and the daemon proper (a standalone libpulse without the daemon is still useful since it can talk to a remote daemon via the network or more likely today talk to a local instance of PipeWire, which also implements the PulseAudio protocol).

Quoted 5 lines

For now, break the dependency cycle by reverting to the original state (no pulseaudio client support in ffmpeg).

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot