[downloader/rtsp] Print the command

pull/9195/head
Yen Chi Hsuan 2016-04-14 15:07:31 +08:00
parent d1c4e4ba15
commit f5d8743e0a
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ class RtspFD(FileDownloader):
self.report_error('MMS or RTSP download detected but neither "mplayer" nor "mpv" could be run. Please install any.') self.report_error('MMS or RTSP download detected but neither "mplayer" nor "mpv" could be run. Please install any.')
return False return False
self._debug_cmd(args)
retval = subprocess.call(args) retval = subprocess.call(args)
if retval == 0: if retval == 0:
fsize = os.path.getsize(encodeFilename(tmpfilename)) fsize = os.path.getsize(encodeFilename(tmpfilename))