mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[ffmpeg] Cache version data
Related: https://github.com/dasl-/pifi/issues/9
This commit is contained in:
		| @@ -2713,7 +2713,9 @@ def check_executable(exe, args=[]): | ||||
|     return exe | ||||
|  | ||||
|  | ||||
| def _get_exe_version_output(exe, args): | ||||
| def _get_exe_version_output(exe, args, *, to_screen=None): | ||||
|     if to_screen: | ||||
|         to_screen(f'Checking exe version: {shell_quote([exe] + args)}') | ||||
|     try: | ||||
|         # STDIN should be redirected too. On UNIX-like systems, ffmpeg triggers | ||||
|         # SIGTTOU if yt-dlp is run in the background. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan