Merge pull request #221071 from lunik1/mpv-ytdlp-patch
mpv: apply patch to fix youtube DASH streams
This commit is contained in:
commit
bd6ab425fb
1 changed files with 10 additions and 0 deletions
|
@ -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/
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue