diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-08-14 20:34:55 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-08-14 20:34:55 +0530 |
commit | 0e0ce898f6226f712064a8e809cf3c5690789cce (patch) | |
tree | fa38e8e9d51ba5a7dfe60dbb311f45230388471a /yt_dlp/postprocessor/ffmpeg.py | |
parent | a6125983ab4434fc4079f575a4bf22042411ea5e (diff) | |
download | hypervideo-pre-0e0ce898f6226f712064a8e809cf3c5690789cce.tar.lz hypervideo-pre-0e0ce898f6226f712064a8e809cf3c5690789cce.tar.xz hypervideo-pre-0e0ce898f6226f712064a8e809cf3c5690789cce.zip |
[ThumbnailsConvertor] Fix conversion after fixup_webp
Closes #4565
Diffstat (limited to 'yt_dlp/postprocessor/ffmpeg.py')
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 6a0a8220b..a1f367ae4 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -1105,6 +1105,7 @@ class FFmpegThumbnailsConvertorPP(FFmpegPostProcessor): continue has_thumbnail = True self.fixup_webp(info, idx) + original_thumbnail = thumbnail_dict['filepath'] # Path can change during fixup thumbnail_ext = os.path.splitext(original_thumbnail)[1][1:].lower() if thumbnail_ext == 'jpeg': thumbnail_ext = 'jpg' |