diff options
author | wm4 <wm4@nowhere> | 2016-02-06 18:47:43 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-06 19:13:32 +0100 |
commit | 563b4785dab5b4f12ffa6c29161eeb61168553e4 (patch) | |
tree | df8c318106507df261694c5c383a76cac978b26e /common/common.c | |
parent | a0d3ce48192507dcd0ebaccbe6b3428b43964c08 (diff) | |
download | mpv-563b4785dab5b4f12ffa6c29161eeb61168553e4.tar.bz2 mpv-563b4785dab5b4f12ffa6c29161eeb61168553e4.tar.xz |
lavfi: fix EOF case
This was dumb. Could make it burn 100% CPU and not exit at the end.
(Because it would retry as instructed, instead of terminating playback.)
It also needs to consider EOF as waiting for input. lavfi_process() will
decide if it's really EOF, or if further input might come in the future.
Without this, it'd would think that it does not need to wait for input,
i.e. that new input will be available immediately.
(Not so fond of the duplication of subtle logic.)
Diffstat (limited to 'common/common.c')
0 files changed, 0 insertions, 0 deletions