mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
Adds ffmpeg argument for ensuring default subtitle is set
This commit is contained in:
parent
e1f692f0b3
commit
0046610ace
@ -413,6 +413,8 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
|
||||
# Don't copy Apple TV chapters track, bin_data (see #19042, #19024,
|
||||
# https://trac.ffmpeg.org/ticket/6016)
|
||||
'-map', '-0:d',
|
||||
# always set a default subtitle (https://trac.ffmpeg.org/ticket/2402)
|
||||
'-disposition:s:0 default',
|
||||
]
|
||||
if information['ext'] == 'mp4':
|
||||
opts += ['-c:s', 'mov_text']
|
||||
|
Loading…
Reference in New Issue
Block a user