Browse Source

Make tbr field 'int' rather than 'tuple'

Closes #9180.
master
aystroganov@gmail.com 8 years ago
committed by Jaime Marquínez Ferrándiz
parent
commit
8334637f4a
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/brightcove.py

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

Loading…
Cancel
Save