Skip to content

Commit

Permalink
fix concat's schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemia committed Mar 15, 2024
1 parent e62047d commit ea0be92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ffmpeg/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ def colormap(

def concat(
*streams: FilterableStream,
n: Int = Auto("len(streams) / (v + a)"),
n: Int = Auto("len(streams) / (int(v) + int(a))"),
v: Int = Default(1),
a: Int = Default(0),
unsafe: Boolean = Default(False),
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/cache/FFMpegFilterManuallyDefined/concat.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"formula_typings_output": "[StreamType.video]*int(v) + [StreamType.audio]*int(a)",
"name": "concat",
"pre": {
"n": "len(streams) / (v + a)"
"n": "len(streams) / (int(v) + int(a))"
}
}

0 comments on commit ea0be92

Please sign in to comment.