Merge pull request #221071 from lunik1/mpv-ytdlp-patch

mpv: apply patch to fix youtube DASH streams
This commit is contained in:
Franz Pletz 2023-03-17 11:20:20 +01:00 committed by GitHub
commit bd6ab425fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, lib
, stdenv
, fetchFromGitHub
, fetchpatch
, addOpenGLRunpath
, docutils
, meson
@ -93,6 +94,15 @@ in stdenv.mkDerivation (self: {
sha256 = "sha256-CoYTX9hgxLo72YdMoa0sEywg4kybHbFsypHk1rCM6tM=";
};
patches = [
(fetchpatch {
# fixes EDL error on youtube DASH streams https://github.com/mpv-player/mpv/issues/11392
# to be removed on next release
url = "https://github.com/mpv-player/mpv/commit/94c189dae76ba280d9883b16346c3dfb9720687e.patch";
sha256 = "sha256-MGXU1L5OSxY5bdEpu9vHngnRXMr7WHeHWuamhjcUD4A=";
})
];
postPatch = ''
patchShebangs version.* ./TOOLS/
'';