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/avfilter.h | |
parent | 39a09e995d32d16e4f8c87a6ff5273cb9d98146e (diff) | |
download | ffmpeg-108b4de5529a75b06da72b974b26625a8067001f.tar.gz |
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/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 5022036faf..c52175b4c9 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -490,16 +490,16 @@ struct AVFilterLink { int max_samples; /** - * True if the link is closed. - * If set, all attempts of start_frame, filter_frame or request_frame - * will fail with AVERROR_EOF, and if necessary the reference will be - * destroyed. - * If request_frame returns AVERROR_EOF, this flag is set on the + * Link status. + * If not zero, all attempts of start_frame, filter_frame or request_frame + * will fail with the corresponding code, and if necessary the reference + * will be destroyed. + * If request_frame returns an error, the status is set on the * corresponding link. * It can be set also be set by either the source or the destination * filter. */ - int closed; + int status; /** * Number of channels. |