1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 08:47:41 +00:00

[bbc] preserve format_id backward compatibility

This commit is contained in:
Remita Amine 2016-08-07 11:14:15 +01:00
parent 37768f9242
commit f9622868e7

View file

@ -336,7 +336,7 @@ class BBCCoUkIE(InfoExtractor):
formats.extend(self._extract_f4m_formats( formats.extend(self._extract_f4m_formats(
href, programme_id, f4m_id=format_id, fatal=False)) href, programme_id, f4m_id=format_id, fatal=False))
else: else:
if bitrate: if not service and not supplier and bitrate:
format_id += '-%d' % bitrate format_id += '-%d' % bitrate
fmt = { fmt = {
'format_id': format_id, 'format_id': format_id,