fix: Fixed issues with missing default values

This commit is contained in:
2025-12-29 16:01:41 -05:00
parent e9d41e67ad
commit a91d629556
2 changed files with 4 additions and 4 deletions

View File

@@ -91,8 +91,8 @@ export def format [
] {
(append-complex-filter format {
pix_fmts: ($pix_fmts | list to-pipe-separated-string)
color_spaces: ($color_spaces | list to-pipe-separated-string)
color_ranges: ($color_ranges | list to-pipe-separated-string)
color_spaces: ($color_spaces | default [] | list to-pipe-separated-string)
color_ranges: ($color_ranges | default [] | list to-pipe-separated-string)
} -i $input -o $output)
}