aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/brightcove.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-04-02 10:57:57 +0100
committerremitamine <remitamine@gmail.com>2016-04-02 10:57:57 +0100
commit08136dc13805abb1832587e03e68066f07bd5776 (patch)
tree751fdd1c3654ff56c639e4f2776e42e707802d99 /youtube_dl/extractor/brightcove.py
parentfe7ef95e91cec1c1794692029561a68e2aaa7809 (diff)
[brightcove] fix format sorting
Diffstat (limited to 'youtube_dl/extractor/brightcove.py')
-rw-r--r--youtube_dl/extractor/brightcove.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 0d162d337..a8919001d 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -396,6 +396,7 @@ class BrightcoveNewIE(InfoExtractor):
'formats': 'mincount:41',
},
'params': {
+ # m3u8 download
'skip_download': True,
}
}, {
@@ -533,7 +534,7 @@ class BrightcoveNewIE(InfoExtractor):
f.update({
'url': src or streaming_src,
'format_id': build_format_id('http' if src else 'http-streaming'),
- 'preference': 2 if src else 1,
+ 'source_preference': 0 if src else -1,
})
else:
f.update({