From 108b4de5529a75b06da72b974b26625a8067001f Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Thu, 24 Sep 2015 10:07:42 +0200 Subject: lavfi: replace link.closed by link.status. The status field can carry any error code instead of just EOF. Also only update it through a wrapper function and provide a timestamp. Update the few filters that used it directly. --- libavfilter/vf_extractplanes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_extractplanes.c') diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c index 1cb05e443a..6da3b2db66 100644 --- a/libavfilter/vf_extractplanes.c +++ b/libavfilter/vf_extractplanes.c @@ -219,7 +219,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) const int idx = s->map[i]; AVFrame *out; - if (outlink->closed) + if (outlink->status) continue; out = ff_get_video_buffer(outlink, outlink->w, outlink->h); -- cgit v1.2.3