1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 22:03:00 +08:00

Make tbr field 'int' rather than 'tuple'

Closes #9180.
This commit is contained in:
aystroganov@gmail.com 2016-04-13 21:30:32 +10:00 committed by Jaime Marquínez Ferrándiz
parent b0ba11cc64
commit 8334637f4a

View File

@ -340,7 +340,7 @@ class BrightcoveLegacyIE(InfoExtractor):
ext = 'flv'
if ext is None:
ext = determine_ext(url)
tbr = int_or_none(rend.get('encodingRate'), 1000),
tbr = int_or_none(rend.get('encodingRate'), 1000)
a_format = {
'format_id': 'http%s' % ('-%s' % tbr if tbr else ''),
'url': url,