mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 04:26:50 +01:00
Add WEBM to supported containers
This commit is contained in:
parent
aa9a04bab9
commit
25925fd759
@ -88,7 +88,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
|
|||||||
os.remove(encodeFilename(filename))
|
os.remove(encodeFilename(filename))
|
||||||
os.rename(encodeFilename(temp_filename), 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'))
|
os.rename(encodeFilename(thumbnail_filename), encodeFilename('cover.jpg'))
|
||||||
old_thumbnail_filename = thumbnail_filename
|
old_thumbnail_filename = thumbnail_filename
|
||||||
thumbnail_filename = 'cover.jpg'
|
thumbnail_filename = 'cover.jpg'
|
||||||
|
Loading…
Reference in New Issue
Block a user