mirror of https://github.com/blackjack4494/yt-dlc
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
00ca755231
When doing version probes for ffmpeg, do the equivalent of calling it as: ffmpeg -version <&- Where <&- is shell syntax for closing stdin before calling the program. This is roughly equivalent to </dev/null without actually opening /dev/null. This prevents ffmpeg -version from hanging when run in the background. Fixes #955. The reason is that ffmpeg tries to manipulate stdin to set up terminal characteristic, and that causes the kernel to suspend the parent process (youtube-dl). Note that closing stdin is achieved by calling subprocess.Popen() with stdin set to subprocess.PIPE and without passing any input to Popen.communicate(). This is somewhat subtle. |
8 years ago | |
---|---|---|
.. | ||
downloader | 8 years ago | |
extractor | 8 years ago | |
postprocessor | 8 years ago | |
YoutubeDL.py | 8 years ago | |
__init__.py | 8 years ago | |
__main__.py | ||
aes.py | ||
cache.py | ||
compat.py | 9 years ago | |
jsinterp.py | ||
options.py | 9 years ago | |
socks.py | ||
swfinterp.py | ||
update.py | ||
utils.py | 8 years ago | |
version.py | 8 years ago |