Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
player: Close ffmpeg stdin during streaming
A `stdin` of `None` means the ffmpeg subprocess input inherits from the parent process, which may cause undesired control from a terminal (e.g. `C` causes ffmpeg to prompt for a command). It also closes the parent's stdin when the subprocess exits. This commit switches to `subprocess.DEVNULL`, which provides a separate pre-closed stdin for ffmpeg subprocesses.
- Loading branch information