lavfi/avfiltergraph: only return EOF in avfilter_graph_request_oldest if all sinks...
authorMarton Balint <cus@passwd.hu>
Fri, 5 May 2017 23:12:24 +0000 (01:12 +0200)
committerMarton Balint <cus@passwd.hu>
Sun, 7 May 2017 17:37:34 +0000 (19:37 +0200)
commitc0443c1af1a772daf33731da7262f3aa6b28dc8e
tree7a831baf97761cc5b61b4c1756dad2d3a3156c48
parent441026fcb13ac23aa10edc312bdacb6445a0ad06
lavfi/avfiltergraph: only return EOF in avfilter_graph_request_oldest if all sinks EOFed

Fixes a regression introduced in 32c59a115d3cc757676b5384a5ea44b5a7a7b872,
becoming effective in 912969a33e313c57c906e87a7e2367b78a2160f4.

Fixes trimmed output of
ffmpeg -f lavfi -i "sine=d=0.01" -f lavfi -i "sine=d=1" -filter_complex "[0:a]anull[a1];[1:a]anull[a2]" -map "[a1]" -f null none -map "[a2]" -f framecrc -

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/avfiltergraph.c