mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-06 04:15:44 +08:00
Also provide the number of splits to asplit
filter
This commit is contained in:
parent
7bc77ff714
commit
755fb843de
@ -152,7 +152,7 @@ class FilterNode(Node):
|
||||
def _get_filter(self, outgoing_edges):
|
||||
args = self.args
|
||||
kwargs = self.kwargs
|
||||
if self.name == 'split':
|
||||
if self.name in ('split', 'asplit'):
|
||||
args = [len(outgoing_edges)]
|
||||
|
||||
out_args = [escape_chars(x, '\\\'=:') for x in args]
|
||||
|
Loading…
x
Reference in New Issue
Block a user