Skip to content

Commit

Permalink
[downloader/external] Add temp fix ffmpeg m3u8 downloads (Closes #9394)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey M․ committed May 7, 2016
1 parent 5c24873 commit f5436c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/downloader/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f5436c5

Please sign in to comment.