1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-06 23:21:54 +00:00
mpv/common
wm4 c391640645 player: fix --lavfi-complex freeze
Commit 0e0b87b6f3 fixed that dropped packets did not trigger further
work correctly. But it also made trivial --lavfi-complex freeze. The
reason is that the meaning if DATA_AGAIN was overloaded: the decoders
meant that they should be called again, while lavfi.c meant that other
outputs needed to be checked again. Rename the latter meaning to
DATA_STARVE, which means that the current input will deliver no more
data, until "other" work has been done (like reading other outputs, or
feeding input).

The decoders never return DATA_STARVE, because they don't get input from
the player core (instead, they get it from the demuxer directly, which
is why they still can return DATA_WAIT).

Also document the DATA_* semantics in the enum.

Fixes #4746.
2017-08-11 21:29:35 +02:00
..
av_common.c
av_common.h
av_log.c
av_log.h
codecs.c
codecs.h
common.c
common.h player: fix --lavfi-complex freeze 2017-08-11 21:29:35 +02:00
encode_lavc.c
encode_lavc.h
encode.h
global.h
msg_control.h
msg.c
msg.h
playlist.c
playlist.h
recorder.c
recorder.h
tags.c
tags.h
version.c