mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-10 00:35:13 +01:00
parent
2bea793632
commit
d8fb349086
15 changed files with 42 additions and 46 deletions
|
|
@ -626,7 +626,7 @@ class FFmpegEmbedSubtitlePP(FFmpegPostProcessor):
|
|||
sub_ext = sub_info['ext']
|
||||
if sub_ext == 'json':
|
||||
self.report_warning('JSON subtitles cannot be embedded')
|
||||
elif ext != 'webm' or ext == 'webm' and sub_ext == 'vtt':
|
||||
elif ext != 'webm' or (ext == 'webm' and sub_ext == 'vtt'):
|
||||
sub_langs.append(lang)
|
||||
sub_names.append(sub_info.get('name'))
|
||||
sub_filenames.append(sub_info['filepath'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue