mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-04 19:51:58 +02:00
[ffmpeg] Cache version data
Related: https://github.com/dasl-/pifi/issues/9
This commit is contained in:
parent
9139d2fae0
commit
8a7f68d0b1
2 changed files with 20 additions and 24 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue