Allow for a default birdseye view
This commit is contained in:
parent
483653ff36
commit
91032aa4fc
|
@ -27,7 +27,7 @@ let
|
|||
ffmpeg.hwaccel_args = optional (cfg.hwaccel != null) cfg.hwaccel;
|
||||
cameras = mapAttrs' (_: camOpts:
|
||||
nameValuePair camOpts.name {
|
||||
birdseye.mode = "objects";
|
||||
birdseye.mode = if camOpts.default then "continuous" else "objects";
|
||||
ffmpeg.inputs = [
|
||||
{
|
||||
path = camOpts.streams.high;
|
||||
|
@ -160,6 +160,8 @@ in {
|
|||
default = name;
|
||||
};
|
||||
|
||||
default = mkEnableOption "Make camera the primary birds-eye view.";
|
||||
|
||||
streams = {
|
||||
low = mkOption {
|
||||
type = str;
|
||||
|
|
Loading…
Reference in New Issue