mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-17 08:33:19 +00:00
[MKV Thumbnail Support] Changed from Tabs to spaces
This commit is contained in:
parent
4c8cabe8ae
commit
a0b2ee64db
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue