[FFmpeg-devel] [PATCH 09/10] vsrc_buffer: deprecate av_vsrc_buffer_add_video_buffer_ref.

Stefano Sabatini stefasab at gmail.com
Sun May 6 00:02:32 CEST 2012


On date Saturday 2012-05-05 10:22:37 +0200, Nicolas George encoded:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavfilter/vsrc_buffer.h |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h
> index 17c4498..821fb62 100644
> --- a/libavfilter/vsrc_buffer.h
> +++ b/libavfilter/vsrc_buffer.h
> @@ -42,7 +42,10 @@
>   * @param flags a combination of AV_VSRC_BUF_FLAG_* flags
>   * @return >= 0 in case of success, a negative AVERROR code in case of
>   * failure
> + *
> + * @deprecated use av_buffersrc_add_ref() instead.

Nit: s/use/Use.

>   */
> +attribute_deprecated
>  int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_src,
>                                          AVFilterBufferRef *picref, int flags);

I'm fine with it otherwise.
-- 
FFmpeg = Fundamentalist and Fabulous Meaningful Plastic EnGraver


More information about the ffmpeg-devel mailing list