diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-11 13:42:23 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-11 20:27:30 +0530 |
commit | a8731fcc1d11afe0c6c3e349d0c85d32ed17488a (patch) | |
tree | 73c3ce4992e3900d72b0c43f4839aa07d7e0341b /yt_dlp/extractor/common.py | |
parent | 5a64127f9422170747313004f9a1fd669e0b47f1 (diff) |
minor bugfixes
bugs due to be2fc5b212338d89d9c139cb463f785e797d1ad3, e9f4ccd19eb92621970b518fb5984b8aef52bdc8
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |