summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2018-09-10 02:37:22 +0700
committerSergey M․ <[email protected]>2018-09-10 02:37:22 +0700
commit25d110be30b92f785617140b0617a73d8eec5f7b (patch)
tree218a2887b49e5c7670d764652953d004707b1a60 /test
parenta2637a2dda5e90b83bd2f403d06ad1ce21fc8c5f (diff)
downloadyoutube-dl-25d110be30b92f785617140b0617a73d8eec5f7b.tar.gz
youtube-dl-25d110be30b92f785617140b0617a73d8eec5f7b.zip
[utils] Properly recognize AV1 codec (closes #17506)
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 8da5ccc56..9e28e008f 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -785,6 +785,10 @@ class TestUtil(unittest.TestCase):
'vcodec': 'h264',
'acodec': 'aac',
})
+ self.assertEqual(parse_codecs('av01.0.05M.08'), {
+ 'vcodec': 'av01.0.05M.08',
+ 'acodec': 'none',
+ })
def test_escape_rfc3986(self):
reserved = "!*'();:@&=+$,/?#[]"