mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 15:22:35 +00:00
parent
a6125983ab
commit
0e0ce898f6
1 changed files with 1 additions and 0 deletions
|
@ -1105,6 +1105,7 @@ class FFmpegThumbnailsConvertorPP(FFmpegPostProcessor):
|
||||||
continue
|
continue
|
||||||
has_thumbnail = True
|
has_thumbnail = True
|
||||||
self.fixup_webp(info, idx)
|
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()
|
thumbnail_ext = os.path.splitext(original_thumbnail)[1][1:].lower()
|
||||||
if thumbnail_ext == 'jpeg':
|
if thumbnail_ext == 'jpeg':
|
||||||
thumbnail_ext = 'jpg'
|
thumbnail_ext = 'jpg'
|
||||||
|
|
Loading…
Reference in a new issue