Skip to content

Commit 755fb84

Browse files
committed
Also provide the number of splits to asplit filter
1 parent 7bc77ff commit 755fb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def __init__(self, stream_spec, name, max_inputs=1, args=[], kwargs={}):
152152
def _get_filter(self, outgoing_edges):
153153
args = self.args
154154
kwargs = self.kwargs
155-
if self.name == 'split':
155+
if self.name in ('split', 'asplit'):
156156
args = [len(outgoing_edges)]
157157

158158
out_args = [escape_chars(x, '\\\'=:') for x in args]

0 commit comments

Comments
 (0)