[FFmpeg-devel] [PATCH 02/17] lavfi: export ff_filter_set_ready() to the library.
Michael Niedermayer
michael at niedermayer.cc
Thu Dec 29 23:39:48 EET 2016
On Thu, Dec 29, 2016 at 03:33:48PM +0100, Nicolas George wrote:
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
> libavfilter/avfilter.c | 2 +-
> libavfilter/filters.h | 5 +++++
> 2 files changed, 6 insertions(+), 1 deletion(-)
>
>
> Changes in this commit: rename ff_link -> ff_inlink and move to filters.h.
>
>
> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> index 47a48998e0..932b499c03 100644
> --- a/libavfilter/avfilter.c
> +++ b/libavfilter/avfilter.c
> @@ -189,7 +189,7 @@ int avfilter_link_get_channels(AVFilterLink *link)
> return link->channels;
> }
>
> -static void ff_filter_set_ready(AVFilterContext *filter, unsigned priority)
> +void ff_filter_set_ready(AVFilterContext *filter, unsigned priority)
> {
> filter->ready = FFMAX(filter->ready, priority);
> }
> diff --git a/libavfilter/filters.h b/libavfilter/filters.h
> index f4a46a023c..bd38506c08 100644
> --- a/libavfilter/filters.h
> +++ b/libavfilter/filters.h
> @@ -28,6 +28,11 @@
> #include "avfilter.h"
>
> /**
> + * Mark a filter ready and schedule it for activation.
> + */
> +void ff_filter_set_ready(AVFilterContext *filter, unsigned priority);
This too is a bit terse, what calls this, when and why
or where is that documented ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161229/38444728/attachment.sig>
More information about the ffmpeg-devel
mailing list