nixos/snapserver: Fix per-stream sampleFormat/codec opts

This commit is contained in:
ettom 2023-07-17 22:24:53 +03:00 committed by Pascal Bach
parent b91e5fc03f
commit 75682f11c6

View File

@ -37,6 +37,7 @@ let
"&${key}=${value}";
in
"--stream.stream=\"${opt.type}://" + os opt.location + "?" + os' "name=" name
+ os' "&sampleformat=" opt.sampleFormat + os' "&codec=" opt.codec
+ concatStrings (mapAttrsToList flatten opt.query) + "\"";
optionalNull = val: ret: