Merge pull request #221071 from lunik1/mpv-ytdlp-patch
mpv: apply patch to fix youtube DASH streams
This commit is contained in:
commit
bd6ab425fb
|
@ -2,6 +2,7 @@
|
||||||
, lib
|
, lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, addOpenGLRunpath
|
, addOpenGLRunpath
|
||||||
, docutils
|
, docutils
|
||||||
, meson
|
, meson
|
||||||
|
@ -93,6 +94,15 @@ in stdenv.mkDerivation (self: {
|
||||||
sha256 = "sha256-CoYTX9hgxLo72YdMoa0sEywg4kybHbFsypHk1rCM6tM=";
|
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 = ''
|
postPatch = ''
|
||||||
patchShebangs version.* ./TOOLS/
|
patchShebangs version.* ./TOOLS/
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue