From: aystroganov@gmail.com Date: Wed, 13 Apr 2016 11:30:32 +0000 (+1000) Subject: Make tbr field 'int' rather than 'tuple' X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=8334637f4ac4a1aeddc6f05131be1c42ea6761e1;p=youtube-dl Make tbr field 'int' rather than 'tuple' Closes #9180. --- diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index c718cf385..f0781fc27 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -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,