Skip to content

Commit 7da1f6a

Browse files
author
Artem Eltyshev
committed
Support zero index stream selectors
1 parent 4cb7d26 commit 7da1f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _get_input_args(input_node):
4848

4949
def _format_input_stream_name(stream_name_map, edge, is_final_arg=False):
5050
prefix = stream_name_map[edge.upstream_node, edge.upstream_label]
51-
if not edge.upstream_selector:
51+
if edge.upstream_selector is None:
5252
suffix = ''
5353
else:
5454
suffix = ':{}'.format(edge.upstream_selector)

0 commit comments

Comments
 (0)