A feature-rich command-line audio/video downloader
[MKV Thumbnail Support] Changed from Tabs to spaces
MrDoritosa0b2ee64dbe6
diff --git a/youtube_dl/postprocessor/embedthumbnail.py b/youtube_dl/postprocessor/embedthumbnail.pyindex acb7958c97..eae266dde7 100644--- a/youtube_dl/postprocessor/embedthumbnail.py+++ b/youtube_dl/postprocessor/embedthumbnail.py@@ -55,10 +55,10 @@ class EmbedThumbnailPP(FFmpegPostProcessor):os.remove(encodeFilename(filename))os.rename(encodeFilename(temp_filename), encodeFilename(filename))- if info['ext'] == 'mkv':- options = [- '-c', 'copy', '-attach', thumbnail_filename, '-metadata:s:t', 'mimetype=image/jpeg']-+ if info['ext'] == 'mkv':+ options = [+ '-c', 'copy', '-attach', thumbnail_filename, '-metadata:s:t', 'mimetype=image/jpeg']+self._downloader.to_screen('[ffmpeg] Adding thumbnail to "%s"' % filename)self.run_ffmpeg_multiple_files([filename], temp_filename, options)