diff options
author | Yen Chi Hsuan <[email protected]> | 2016-02-21 03:25:44 +0800 |
---|---|---|
committer | Yen Chi Hsuan <[email protected]> | 2016-02-21 03:32:03 +0800 |
commit | 7360db05b43741c2dfa1fd024e9c2f013ed97c9e (patch) | |
tree | 119d4b7a32cbb2ae8dc1ee8606068fedf6bb16b1 /youtube_dl/postprocessor | |
parent | 765ac263dbf17442f41715a1cfce13fc61a4b315 (diff) | |
download | youtube-dl-7360db05b43741c2dfa1fd024e9c2f013ed97c9e.tar.gz youtube-dl-7360db05b43741c2dfa1fd024e9c2f013ed97c9e.zip |
[postprocessor/embedthumbnail] Allow mkv to embed thumbnails
Fixes #6046
Diffstat (limited to 'youtube_dl/postprocessor')
-rw-r--r-- | youtube_dl/postprocessor/embedthumbnail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/postprocessor/embedthumbnail.py b/youtube_dl/postprocessor/embedthumbnail.py index e19dbf73d..3bad5a266 100644 --- a/youtube_dl/postprocessor/embedthumbnail.py +++ b/youtube_dl/postprocessor/embedthumbnail.py @@ -40,7 +40,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor): 'Skipping embedding the thumbnail because the file is missing.') return [], info - if info['ext'] == 'mp3': + if info['ext'] in ('mp3', 'mkv'): options = [ '-c', 'copy', '-map', '0', '-map', '1', '-metadata:s:v', 'title="Album cover"', '-metadata:s:v', 'comment="Cover (Front)"'] |