mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-08 13:09:42 +00:00
[utils] parse_codecs
: Fix parsing of mixed case codec strings
Authored by: bashonly
This commit is contained in:
@@ -929,6 +929,11 @@ class TestUtil(unittest.TestCase):
|
||||
'acodec': 'none',
|
||||
'dynamic_range': 'DV',
|
||||
})
|
||||
self.assertEqual(parse_codecs('fLaC'), {
|
||||
'vcodec': 'none',
|
||||
'acodec': 'flac',
|
||||
'dynamic_range': None,
|
||||
})
|
||||
self.assertEqual(parse_codecs('theora, vorbis'), {
|
||||
'vcodec': 'theora',
|
||||
'acodec': 'vorbis',
|
||||
|
Reference in New Issue
Block a user