From 7bb3ceb4c731c9783d2c565204cbc1071c3545ed Mon Sep 17 00:00:00 2001 From: Paul Hartmann Date: Fri, 30 Jan 2015 00:47:43 +0100 Subject: [PATCH] [dctp] prefix real_time parameter with rtmp_ --- youtube_dl/downloader/rtmp.py | 2 +- youtube_dl/extractor/dctp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/downloader/rtmp.py b/youtube_dl/downloader/rtmp.py index 6cb1bfc50..f7eeb6f43 100644 --- a/youtube_dl/downloader/rtmp.py +++ b/youtube_dl/downloader/rtmp.py @@ -104,9 +104,9 @@ class RtmpFD(FileDownloader): live = info_dict.get('rtmp_live', False) conn = info_dict.get('rtmp_conn', None) protocol = info_dict.get('rtmp_protocol', None) + real_time = info_dict.get('rtmp_real_time', False) no_resume = info_dict.get('no_resume', False) continue_dl = info_dict.get('continuedl', False) - real_time = info_dict.get('real_time', False) self.report_destination(filename) tmpfilename = self.temp_name(filename) diff --git a/youtube_dl/extractor/dctp.py b/youtube_dl/extractor/dctp.py index c80d28865..8a77f2b66 100644 --- a/youtube_dl/extractor/dctp.py +++ b/youtube_dl/extractor/dctp.py @@ -43,7 +43,7 @@ class DctpTvIE(InfoExtractor): 'format': 'rtmp', 'url': url, 'play_path': play_path, - 'real_time': True, + 'rtmp_real_time': True, 'ext': 'flv', 'display_id': video_id }