mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-05 04:22:51 +08:00
Support zero index stream selectors
This commit is contained in:
parent
4cb7d26f55
commit
7da1f6af23
@ -48,7 +48,7 @@ def _get_input_args(input_node):
|
||||
|
||||
def _format_input_stream_name(stream_name_map, edge, is_final_arg=False):
|
||||
prefix = stream_name_map[edge.upstream_node, edge.upstream_label]
|
||||
if not edge.upstream_selector:
|
||||
if edge.upstream_selector is None:
|
||||
suffix = ''
|
||||
else:
|
||||
suffix = ':{}'.format(edge.upstream_selector)
|
||||
|
Loading…
x
Reference in New Issue
Block a user