diff options
author | Nicolas George <george@nsup.org> | 2015-09-24 10:07:42 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-12-22 16:04:30 +0100 |
commit | 108b4de5529a75b06da72b974b26625a8067001f (patch) | |
tree | c38c0fc0600038a55116cbc3246e8158c491df89 /libavfilter/split.c | |
parent | 39a09e995d32d16e4f8c87a6ff5273cb9d98146e (diff) |
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.
Diffstat (limited to 'libavfilter/split.c')
-rw-r--r-- | libavfilter/split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/split.c b/libavfilter/split.c index 7353810677..1e4fb42ad0 100644 --- a/libavfilter/split.c +++ b/libavfilter/split.c @@ -77,7 +77,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) for (i = 0; i < ctx->nb_outputs; i++) { AVFrame *buf_out; - if (ctx->outputs[i]->closed) + if (ctx->outputs[i]->status) continue; buf_out = av_frame_clone(frame); if (!buf_out) { |