Skip to content

Commit 60b5165

Browse files
committedFeb 19, 2024
Only copy attachments when subs present
1 parent 8750145 commit 60b5165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎auto_editor/output.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def mux_quality_media(
193193
cmd.extend(args.extras.split(" "))
194194
cmd.extend(["-strict", "-2"]) # Allow experimental codecs.
195195

196-
if not args.sn:
196+
if s_tracks > 0:
197197
cmd.extend(["-map", "0:t?"]) # Add input attachments to output.
198198

199199
# This was causing a crash for 'example.mp4 multi-track.mov'

0 commit comments

Comments
 (0)