Browse Source

[dctp] prefix real_time parameter with rtmp_

totalwebcasting
Paul Hartmann 10 years ago
parent
commit
7bb3ceb4c7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      youtube_dl/downloader/rtmp.py
  2. +1
    -1
      youtube_dl/extractor/dctp.py

+ 1
- 1
youtube_dl/downloader/rtmp.py View File

@ -104,9 +104,9 @@ class RtmpFD(FileDownloader):
live = info_dict.get('rtmp_live', False) live = info_dict.get('rtmp_live', False)
conn = info_dict.get('rtmp_conn', None) conn = info_dict.get('rtmp_conn', None)
protocol = info_dict.get('rtmp_protocol', 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) no_resume = info_dict.get('no_resume', False)
continue_dl = info_dict.get('continuedl', False) continue_dl = info_dict.get('continuedl', False)
real_time = info_dict.get('real_time', False)
self.report_destination(filename) self.report_destination(filename)
tmpfilename = self.temp_name(filename) tmpfilename = self.temp_name(filename)


+ 1
- 1
youtube_dl/extractor/dctp.py View File

@ -43,7 +43,7 @@ class DctpTvIE(InfoExtractor):
'format': 'rtmp', 'format': 'rtmp',
'url': url, 'url': url,
'play_path': play_path, 'play_path': play_path,
'real_time': True,
'rtmp_real_time': True,
'ext': 'flv', 'ext': 'flv',
'display_id': video_id 'display_id': video_id
} }


Loading…
Cancel
Save