diff options
author | sepro <sepro@sepr0.com> | 2024-12-02 16:29:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-02 16:29:30 +0100 |
commit | d8fb3490863653182864d2a53522f350d67a9ff8 (patch) | |
tree | fa12606719269bddb36b5cc46995dda1a1a3bbc4 /yt_dlp/postprocessor/ffmpeg.py | |
parent | 2bea7936323ca4b6f3b9b1fdd892566223e30efa (diff) |
[cleanup] Bump ruff to 0.8.x (#11608)
Authored by: seproDev
Diffstat (limited to 'yt_dlp/postprocessor/ffmpeg.py')
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index d994754fd..8965806ae 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -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']) |