Fix bug in c111cefa5d
This commit is contained in:
parent
fc5c8b6492
commit
993191c0d5
1 changed files with 2 additions and 2 deletions
|
@ -2856,8 +2856,8 @@ class YoutubeDL(object):
|
||||||
'writing DASH m4a. Only some players support this container',
|
'writing DASH m4a. Only some players support this container',
|
||||||
FFmpegFixupM4aPP)
|
FFmpegFixupM4aPP)
|
||||||
|
|
||||||
downloader = (get_suitable_downloader(info_dict, self.params).__name__
|
downloader = get_suitable_downloader(info_dict, self.params) if 'protocol' in info_dict else None
|
||||||
if 'protocol' in info_dict else None)
|
downloader = downloader.__name__ if downloader else None
|
||||||
ffmpeg_fixup(info_dict.get('requested_formats') is None and downloader == 'HlsFD',
|
ffmpeg_fixup(info_dict.get('requested_formats') is None and downloader == 'HlsFD',
|
||||||
'malformed AAC bitstream detected', FFmpegFixupM3u8PP)
|
'malformed AAC bitstream detected', FFmpegFixupM3u8PP)
|
||||||
ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'malformed timestamps detected', FFmpegFixupTimestampPP)
|
ffmpeg_fixup(downloader == 'WebSocketFragmentFD', 'malformed timestamps detected', FFmpegFixupTimestampPP)
|
||||||
|
|
Loading…
Reference in a new issue