]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[downloader/external] Add temp fix ffmpeg m3u8 downloads (Closes #9394)
authorSergey M․ <dstftw@gmail.com>
Sat, 7 May 2016 20:29:26 +0000 (02:29 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 7 May 2016 20:29:26 +0000 (02:29 +0600)
youtube_dl/downloader/external.py

index 8d642fc3e60594f10a057847cf5702f715941326..45f49c350a8a1e790f042c25ad87c4ef5b5a85b5 100644 (file)
@@ -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: