Browse Source

[downloader/rtsp] Print the command

Yen Chi Hsuan 9 năm trước cách đây
mục cha
commit
f5d8743e0a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      youtube_dl/downloader/rtsp.py

+ 2 - 0
youtube_dl/downloader/rtsp.py

@@ -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.')
             return False
 
+        self._debug_cmd(args)
+
         retval = subprocess.call(args)
         if retval == 0:
             fsize = os.path.getsize(encodeFilename(tmpfilename))