浏览代码

[downloader/hls] Add _debug_cmd

Sergey M․ 10 年之前
父节点
当前提交
7393746da2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      youtube_dl/downloader/hls.py

+ 2 - 0
youtube_dl/downloader/hls.py

@@ -32,6 +32,8 @@ class HlsFD(FileDownloader):
             for opt in (ffpp.executable, '-y', '-i', url, '-f', 'mp4', '-c', 'copy', '-bsf:a', 'aac_adtstoasc')]
         args.append(encodeFilename(tmpfilename, True))
 
+        self._debug_cmd(args)
+
         retval = subprocess.call(args)
         if retval == 0:
             fsize = os.path.getsize(encodeFilename(tmpfilename))