1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 18:52:48 +01:00

[downloader/external] Add temp fix ffmpeg m3u8 downloads (Closes #9394)

This commit is contained in:
Sergey M․ 2016-05-08 02:29:26 +06:00
parent 5c24873a9e
commit f5436c5d9e
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -224,7 +224,7 @@ def _call_downloader(self, tmpfilename, info_dict):
args += ['-rtmp_live', 'live']
args += ['-i', url, '-c', 'copy']
if protocol == 'm3u8':
if protocol in ('m3u8', 'm3u8_native'):
if self.params.get('hls_use_mpegts', False) or tmpfilename == '-':
args += ['-f', 'mpegts']
else: