obs-studio: fix decklink

This commit is contained in:
Mateusz Słodkowicz 2023-10-17 18:23:10 +02:00
parent 0aac6c67a7
commit 6ec3246ae2
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 5 additions and 6 deletions

View File

@ -47,11 +47,11 @@
, amf-headers
, libGL
, vulkan-loader
#, decklinkSupport ? false
#, blackmagic-desktop-video
, decklinkSupport ? false
, blackmagic-desktop-video ? null
, libcef
}:
assert (!decklinkSupport || blackmagic-desktop-video!=null) || builtins.throw "decklinkSupport enabled but blackmagic-desktop-video is null";
let
inherit (lib) optional optionals;
in
@ -134,14 +134,13 @@ stdenv.mkDerivation rec {
];
dontWrapGApps = true;
preFixup = let
wrapperLibraries = [
xorg.libX11
libvlc
]; /*++ optionals decklinkSupport [
] ++ optionals decklinkSupport [
blackmagic-desktop-video
];*/
];
in
''
#Remove libs from libcef, they are symlinks and can't be patchelfed