A feature-rich command-line audio/video downloader
[ThumbnailsConvertor] Fix conversion after fixup_webp
pukkandan0e0ce898f622
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.pyindex 6a0a8220ba..a1f367ae42 100644--- a/yt_dlp/postprocessor/ffmpeg.py+++ b/yt_dlp/postprocessor/ffmpeg.py@@ -1105,6 +1105,7 @@ class FFmpegThumbnailsConvertorPP(FFmpegPostProcessor):continuehas_thumbnail = Trueself.fixup_webp(info, idx)+ original_thumbnail = thumbnail_dict['filepath'] # Path can change during fixupthumbnail_ext = os.path.splitext(original_thumbnail)[1][1:].lower()if thumbnail_ext == 'jpeg':thumbnail_ext = 'jpg'