1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00

Add WEBM to supported containers

This commit is contained in:
MrDoritos 2020-11-22 21:10:03 -05:00
parent aa9a04bab9
commit 25925fd759

View file

@ -88,7 +88,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
os.remove(encodeFilename(filename))
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
elif info['ext'] == 'mkv':
elif info['ext'] in ['mkv', 'webm']:
os.rename(encodeFilename(thumbnail_filename), encodeFilename('cover.jpg'))
old_thumbnail_filename = thumbnail_filename
thumbnail_filename = 'cover.jpg'