Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Also provide the number of splits to asplit filter
  • Loading branch information
depau committed Dec 22, 2017
commit 755fb843de221faf90245eb47a1ce8d466e42fd5
2 changes: 1 addition & 1 deletion ffmpeg/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def __init__(self, stream_spec, name, max_inputs=1, args=[], kwargs={}):
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]
Expand Down