pipewire: use ffmpeg-headless
This commit is contained in:
parent
58211b7b13
commit
0cf541b3dd
|
@ -15875,12 +15875,10 @@ with pkgs;
|
|||
|
||||
pipewire = callPackage ../development/libraries/pipewire {
|
||||
# ffmpeg depends on SDL2 which depends on pipewire by default.
|
||||
# Break the cycle by disabling pipewire support in our ffmpeg.
|
||||
ffmpeg = ffmpeg.override {
|
||||
SDL2 = SDL2.override {
|
||||
pipewireSupport = false;
|
||||
};
|
||||
};
|
||||
# Break the cycle by depending on ffmpeg-headless.
|
||||
# Pipewire only uses libavcodec (via an SPA plugin), which isn't
|
||||
# affected by the *-headless changes.
|
||||
ffmpeg = ffmpeg-headless;
|
||||
};
|
||||
|
||||
pipewire-media-session = callPackage ../development/libraries/pipewire/media-session.nix {};
|
||||
|
|
Loading…
Reference in a new issue