[dctp] prefix real_time parameter with rtmp_
authorPaul Hartmann <phaaurlt@gmail.com>
Thu, 29 Jan 2015 23:47:43 +0000 (00:47 +0100)
committerPaul Hartmann <phaaurlt@gmail.com>
Thu, 29 Jan 2015 23:47:43 +0000 (00:47 +0100)
youtube_dl/downloader/rtmp.py
youtube_dl/extractor/dctp.py

index 6cb1bfc50c8339301dfc956c34062ea79807ee30..f7eeb6f43f09670e8ecb6cba1791d49d09ecbf15 100644 (file)
@@ -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)
index c80d28865d2ccbd5734a2c0a601f9e2a91175d96..8a77f2b662e5ad09a019aaa12c1def2ed7606a4a 100644 (file)
@@ -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
         }