OSDN Git Service

avconv: restructure sending EOF to filters
authorAnton Khirnov <anton@khirnov.net>
Mon, 27 Jun 2016 17:03:42 +0000 (19:03 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 28 Jun 2016 06:30:20 +0000 (08:30 +0200)
commit94ebf5565849e4dc036d2ca43979571ed3736457
treec05b2f708304279e023b135042816ea9165da36c
parentd2e56cf753a6c462041dee897d9d0c90f349988c
avconv: restructure sending EOF to filters

Be more careful when an input stream encounters EOF when its filtergraph
has not been configured yet. The current code would immediately mark the
corresponding output streams as finished, while there may still be
buffered frames waiting for frames to appear on other filtergraph
inputs.

This should fix the random FATE failures for complex filtergraph tests
after a3a0230a9870b9018dc7415ae5872784d524cfe5
avconv.c
avconv.h
avconv_filter.c