aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/downloader
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-05-08 02:29:26 +0600
committerSergey M․ <dstftw@gmail.com>2016-05-08 02:29:26 +0600
commitf5436c5d9e4e65790440ada40476712ff430651b (patch)
treeaaf5477606ea47ba72252ec52703e9927b38fc6a /youtube_dl/downloader
parent5c24873a9e6a47e58b10eb0c0825e165604796f2 (diff)
[downloader/external] Add temp fix ffmpeg m3u8 downloads (Closes #9394)
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r--youtube_dl/downloader/external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index 8d642fc3e..45f49c350 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -224,7 +224,7 @@ class FFmpegFD(ExternalFD):
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: