mpv/player
wm4 5085cf295f lavfi: slightly better disconnected output handling
If we have a disconnected output, read data only passively (and don't
cause input to be written). Otherwise, we're in danger of making
libavfilter queue too many frames on other outputs which are connected
to the same input, but don't read as quickly.

Also don't set pad->output_needed in this specific case, because it
would nonsensically make lavfi_process() return true, even if nothing is
going on.

This commit breaks if there is a simple filter chain with a connected
input, but a disconnected output, like

   --lavfi-complex='[aid1] copy [ao]'

and the audio output didn't initialize correctly. This will eventually
starve video as the audio packet queue get full (it will print a
warning, and then assume video EOF and exit).

But whatever.

Probably fixes #4118.
2017-02-08 20:29:38 +01:00
..
lua ytdl_hook: reenable support for length-less segments in EDL 2017-02-06 16:50:28 +00:00
audio.c audio: stop being dumb 2017-01-08 14:47:53 +01:00
client.c player: restructure cancel callback 2017-01-18 17:52:05 +01:00
client.h client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
command.c player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
command.h options: slightly better option update mechanism 2016-09-19 19:51:26 +02:00
configfiles.c player: fix previous commit 2016-10-03 17:16:02 +02:00
core.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
external_files.c sub: remove .txt as text subtitle extension 2017-02-03 11:32:16 +01:00
external_files.h
lavfi.c lavfi: slightly better disconnected output handling 2017-02-08 20:29:38 +01:00
lavfi.h
loadfile.c player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
lua.c lua: close directory after reading its entries 2017-01-17 08:22:13 +01:00
main.c player: actually initialize/destroy MPContext.lock 2017-01-22 15:24:13 +01:00
misc.c player: remove --stream-capture option/property 2017-01-21 17:19:01 +01:00
osd.c player: different way to auto-enable the demuxer cache 2017-02-02 18:38:16 +01:00
playloop.c player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
screenshot.c cuda: use libavutil functions for copying hw surfaces to memory 2017-01-12 13:59:35 +01:00
screenshot.h
scripting.c scripting: don't call dlclose() on C plugins 2017-01-14 17:14:30 +01:00
sub.c player: enable no-video subtitle display on coverart too 2016-10-31 13:55:32 +01:00
video.c player: print hw format on "VO: " line too 2017-01-29 12:53:58 +01:00