1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 18:12:52 +08:00

[downloader/rtsp] Print the command

This commit is contained in:
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

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))