mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 08:57:08 -05:00 
			
		
		
		
	[downloader/hls] Add _debug_cmd
This commit is contained in:
		@@ -32,6 +32,8 @@ class HlsFD(FileDownloader):
 | 
				
			|||||||
            for opt in (ffpp.executable, '-y', '-i', url, '-f', 'mp4', '-c', 'copy', '-bsf:a', 'aac_adtstoasc')]
 | 
					            for opt in (ffpp.executable, '-y', '-i', url, '-f', 'mp4', '-c', 'copy', '-bsf:a', 'aac_adtstoasc')]
 | 
				
			||||||
        args.append(encodeFilename(tmpfilename, True))
 | 
					        args.append(encodeFilename(tmpfilename, True))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        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))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user