summaryrefslogtreecommitdiffstats
path: root/common/common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-06 18:47:43 +0100
committerwm4 <wm4@nowhere>2016-02-06 19:13:32 +0100
commit563b4785dab5b4f12ffa6c29161eeb61168553e4 (patch)
treedf8c318106507df261694c5c383a76cac978b26e /common/common.c
parenta0d3ce48192507dcd0ebaccbe6b3428b43964c08 (diff)
downloadmpv-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