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
1 changed files with 1 additions and 1 deletions

View File

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