aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ceskatelevize.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-03-25 19:37:54 +0100
committerRemita Amine <remitamine@gmail.com>2017-03-25 19:38:23 +0100
commitfb4fc44928d042a33287fd3e8e18b721c29ff8e8 (patch)
treeeebce170ea4942ea6ff0c23f1ee306da09ca288e /youtube_dl/extractor/ceskatelevize.py
parent51ef4919dfd51b5bd562f39f865a117f9a5cd304 (diff)
[downloader/hls] immediately delegate downloading to ffmpeg in case live stream
Diffstat (limited to 'youtube_dl/extractor/ceskatelevize.py')
-rw-r--r--youtube_dl/extractor/ceskatelevize.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ceskatelevize.py b/youtube_dl/extractor/ceskatelevize.py
index b1dfacf80..dd2529a6d 100644
--- a/youtube_dl/extractor/ceskatelevize.py
+++ b/youtube_dl/extractor/ceskatelevize.py
@@ -160,8 +160,7 @@ class CeskaTelevizeIE(InfoExtractor):
for format_id, stream_url in item.get('streamUrls', {}).items():
if 'playerType=flash' in stream_url:
stream_formats = self._extract_m3u8_formats(
- stream_url, playlist_id, 'mp4',
- entry_protocol='m3u8' if is_live else 'm3u8_native',
+ stream_url, playlist_id, 'mp4', 'm3u8_native',
m3u8_id='hls-%s' % format_id, fatal=False)
else:
stream_formats = self._extract_mpd_formats(