mpv: use correct nv-codec-headers version
Otherwise, mpv falls back to nvdec-copy, using significantly more cpu.
This commit is contained in:
parent
137f80e8fc
commit
435076cc1c
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
, freetype
|
||||
, libass
|
||||
, libpthreadstubs
|
||||
, nv-codec-headers
|
||||
, nv-codec-headers-11
|
||||
, lua
|
||||
, libuchardet
|
||||
, libiconv
|
||||
|
@ -198,7 +198,7 @@ in stdenv'.mkDerivation (finalAttrs: {
|
|||
++ lib.optionals xineramaSupport [ libXinerama ]
|
||||
++ lib.optionals xvSupport [ libXv ]
|
||||
++ lib.optionals zimgSupport [ zimg ]
|
||||
++ lib.optionals stdenv.isLinux [ nv-codec-headers ]
|
||||
++ lib.optionals stdenv.isLinux [ nv-codec-headers-11 ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv ]
|
||||
++ lib.optionals stdenv.isDarwin [ CoreFoundation Cocoa CoreAudio MediaPlayer Accelerate ]
|
||||
++ lib.optionals (stdenv.isDarwin && swiftSupport) [ AVFoundation CoreMedia ];
|
||||
|
|
Loading…
Reference in a new issue