Skip to content

Commit eaeca2e

Browse files
committed
ffmpeg_editlist: Fix tests (segment title + --show-schedule)
1 parent 0e9adfc commit eaeca2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg_editlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def main(argv=sys.argv[1:]):
418418
# Start command: start a segment
419419
elif isinstance(command, dict) and 'start' in command:
420420
start = command['start']
421-
schedule(start, f"START" + (f" **{segment['title']}**" if segment_number == 0 else ""))
421+
schedule(start, f"START" + (f" **{segment['title']}**" if segment_number and 'title' in segment == 0 else ""))
422422
segment_number += 1
423423
continue
424424
# End command: process this segment and all queued commands

0 commit comments

Comments
 (0)