aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_InfoExtractor.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2017-12-29 23:14:15 +0700
committerSergey M․ <[email protected]>2017-12-29 23:14:56 +0700
commit9d6ac71c27b1dfb662c795ef598dbfd0286682da (patch)
treebdc88e44ae6e8dcd99e3ee3e03be15617107fd2f /test/test_InfoExtractor.py
parent84f085d4bdb66ee025fb337bcd571eab7469da97 (diff)
downloadyoutube-dl-9d6ac71c27b1dfb662c795ef598dbfd0286682da.tar.gz
youtube-dl-9d6ac71c27b1dfb662c795ef598dbfd0286682da.zip
[extractor/common] Fix extraction of DASH formats with the same representation id (closes #15111)
Diffstat (limited to 'test/test_InfoExtractor.py')
-rw-r--r--test/test_InfoExtractor.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_InfoExtractor.py b/test/test_InfoExtractor.py
index 8a372d2c9..7b31d5198 100644
--- a/test/test_InfoExtractor.py
+++ b/test/test_InfoExtractor.py
@@ -493,10 +493,21 @@ jwplayer("mediaplayer").setup({"abouttext":"Visit Indie DB","aboutlink":"http:\/
_TEST_CASES = [
(
# https://github.com/rg3/youtube-dl/issues/13919
+ # Also tests duplicate representation ids, see
+ # https://github.com/rg3/youtube-dl/issues/15111
'float_duration',
'http://unknown/manifest.mpd',
[{
'manifest_url': 'http://unknown/manifest.mpd',
+ 'ext': 'm4a',
+ 'format_id': '318597',
+ 'format_note': 'DASH audio',
+ 'protocol': 'http_dash_segments',
+ 'acodec': 'mp4a.40.2',
+ 'vcodec': 'none',
+ 'tbr': 61.587,
+ }, {
+ 'manifest_url': 'http://unknown/manifest.mpd',
'ext': 'mp4',
'format_id': '318597',
'format_note': 'DASH video',