summaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:32 +0000
commitbde174308e4dfd8f304f0e060be50d09eabf37a7 (patch)
treefa1662bb4e9b15642697981087e298f125af6d0c /yt_dlp/postprocessor
parentReleasing progress-linux version 2024.07.01-1~progress7.99u1. (diff)
downloadyt-dlp-bde174308e4dfd8f304f0e060be50d09eabf37a7.tar.xz
yt-dlp-bde174308e4dfd8f304f0e060be50d09eabf37a7.zip
Merging upstream version 2024.07.02.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/postprocessor')
-rw-r--r--yt_dlp/postprocessor/embedthumbnail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/embedthumbnail.py b/yt_dlp/postprocessor/embedthumbnail.py
index f2228ac..16c8bcd 100644
--- a/yt_dlp/postprocessor/embedthumbnail.py
+++ b/yt_dlp/postprocessor/embedthumbnail.py
@@ -134,7 +134,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor):
meta = MP4(filename)
# NOTE: the 'covr' atom is a non-standard MPEG-4 atom,
# Apple iTunes 'M4A' files include the 'moov.udta.meta.ilst' atom.
- meta.tags['covr'] = [MP4Cover(data=thumb_data, imageformat=f)]
+ meta.tags['covr'] = [MP4Cover(data=thumb_data, imageformat=f[type_])]
meta.save()
temp_filename = filename
except Exception as err: