Browse Source

[postprocessor/embedthumbnail] Allow mkv to embed thumbnails

Fixes #6046
totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
7360db05b4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/postprocessor/embedthumbnail.py

+ 1
- 1
youtube_dl/postprocessor/embedthumbnail.py View File

@ -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)"']


Loading…
Cancel
Save