From a8731fcc1d11afe0c6c3e349d0c85d32ed17488a Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 11 Aug 2021 13:42:23 +0530 Subject: minor bugfixes bugs due to be2fc5b212338d89d9c139cb463f785e797d1ad3, e9f4ccd19eb92621970b518fb5984b8aef52bdc8 --- yt_dlp/extractor/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yt_dlp/extractor/common.py') diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 9cc3051c4..8c2566dc5 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -2599,8 +2599,8 @@ class InfoExtractor(object): codecs = representation_attrib.get('codecs', '') if content_type not in ('video', 'audio', 'text'): if mime_type == 'image/jpeg': - content_type = 'image/jpeg' - if codecs.split('.')[0] == 'stpp': + content_type = mime_type + elif codecs.split('.')[0] == 'stpp': content_type = 'text' else: self.report_warning('Unknown MIME type %s in DASH manifest' % mime_type) -- cgit v1.2.3