minor bugfixes

bugs due to be2fc5b212, e9f4ccd19e
This commit is contained in:
pukkandan
2021-08-11 13:42:23 +05:30
parent 5a64127f94
commit a8731fcc1d
3 changed files with 7 additions and 7 deletions

View File

@@ -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)