1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-23 13:45:10 +01:00

Make tbr field 'int' rather than 'tuple'

Closes .
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

@ -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,