From 94ebf5565849e4dc036d2ca43979571ed3736457 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 27 Jun 2016 19:03:42 +0200 Subject: 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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'avconv.h') diff --git a/avconv.h b/avconv.h index 5d365a00ee..cffe11473f 100644 --- a/avconv.h +++ b/avconv.h @@ -212,6 +212,8 @@ typedef struct InputFilter { uint64_t channel_layout; AVBufferRef *hw_frames_ctx; + + int eof; } InputFilter; typedef struct OutputFilter { -- cgit v1.2.3