mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-03 02:57:30 +03:00
mpv: use ffmpeg-full when using youtubeSupport
We need networking and potentially ssl/tls compiled into ffmpeg but the minimal ffmpeg_x wrappers no longer offer that. We could of course use ffmpeg-full and slim it down to just what we need but we'd end up building ffmpeg twice, might as well stick with full
This commit is contained in:
parent
c8db08ee07
commit
1a6e124da8
@ -11697,13 +11697,15 @@ let
|
|||||||
# !!! should depend on MPlayer
|
# !!! should depend on MPlayer
|
||||||
};
|
};
|
||||||
|
|
||||||
mpv = callPackage ../applications/video/mpv {
|
mpv = callPackage ../applications/video/mpv rec {
|
||||||
lua = lua5_1;
|
lua = lua5_1;
|
||||||
lua5_sockets = lua5_1_sockets;
|
lua5_sockets = lua5_1_sockets;
|
||||||
bs2bSupport = config.mpv.bs2bSupport or true;
|
bs2bSupport = config.mpv.bs2bSupport or true;
|
||||||
youtubeSupport = config.mpv.youtubeSupport or true;
|
youtubeSupport = config.mpv.youtubeSupport or true;
|
||||||
cacaSupport = config.mpv.cacaSupport or true;
|
cacaSupport = config.mpv.cacaSupport or true;
|
||||||
vaapiSupport = config.mpv.vaapiSupport or false;
|
vaapiSupport = config.mpv.vaapiSupport or false;
|
||||||
|
# YouTube needs network support and potentially openssl/tls
|
||||||
|
ffmpeg = if youtubeSupport then ffmpeg-full else ffmpeg;
|
||||||
};
|
};
|
||||||
|
|
||||||
mrpeach = callPackage ../applications/audio/pd-plugins/mrpeach { };
|
mrpeach = callPackage ../applications/audio/pd-plugins/mrpeach { };
|
||||||
|
Loading…
Reference in New Issue
Block a user