diff options
author | bashonly <bashonly@protonmail.com> | 2024-07-14 14:58:07 -0500 |
---|---|---|
committer | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-07-14 22:56:28 -0500 |
commit | cc0070f6496e501d77352bad475fb02d6a86846a (patch) | |
tree | c106902455fb9d567a4c8939749c00b6eabbe7aa /test/test_utils.py | |
parent | b85eef0a615a01304f88a3847309c667e09a20df (diff) |
[utils] `parse_codecs`: Fix parsing of mixed case codec strings
Authored by: bashonly
Diffstat (limited to 'test/test_utils.py')
-rw-r--r-- | test/test_utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 3ff1f8b55..e82f551bc 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -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', |