[FFmpeg-devel] [PATCH v5 07/12] avfilter/sbuffer: Add sbuffersrv and sbuffersink filters

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Sep 12 22:45:23 EEST 2021


Soft Works:
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>  configure                |  2 +-
>  libavfilter/allfilters.c | 10 +++---
>  libavfilter/buffersink.c | 63 +++++++++++++++++++++++++++++++++++
>  libavfilter/buffersink.h | 15 +++++++++
>  libavfilter/buffersrc.c  | 72 ++++++++++++++++++++++++++++++++++++++++
>  libavfilter/buffersrc.h  |  1 +
>  libavfilter/version.h    |  2 +-
>  7 files changed, 159 insertions(+), 6 deletions(-)
> 
> diff --git a/configure b/configure
> index af410a9d11..2f2777df9f 100755
> --- a/configure
> +++ b/configure
> @@ -7716,7 +7716,7 @@ print_enabled_components(){
>          fi
>      done
>      if [ "$name" = "filter_list" ]; then
> -        for c in asrc_abuffer vsrc_buffer asink_abuffer vsink_buffer; do
> +        for c in asrc_abuffer vsrc_buffer ssrc_sbuffer asink_abuffer vsink_buffer ssink_sbuffer; do
>              printf "    &ff_%s,\n" $c >> $TMPH
>          done
>      fi
> diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
> index 0c6b2347c8..b27ef6f027 100644
> --- a/libavfilter/allfilters.c
> +++ b/libavfilter/allfilters.c
> @@ -531,10 +531,12 @@ extern const AVFilter ff_avsrc_movie;
>   * they are formatted to not be found by the grep
>   * as they are manually added again (due to their 'names'
>   * being the same while having different 'types'). */
> -extern  const AVFilter ff_asrc_abuffer;
> -extern  const AVFilter ff_vsrc_buffer;
> -extern  const AVFilter ff_asink_abuffer;
> -extern  const AVFilter ff_vsink_buffer;
> +extern const AVFilter ff_asrc_abuffer;
> +extern const AVFilter ff_vsrc_buffer;
> +extern const AVFilter ff_ssrc_sbuffer;
> +extern const AVFilter ff_asink_abuffer;
> +extern const AVFilter ff_vsink_buffer;
> +extern const AVFilter ff_ssink_sbuffer;
>  extern const AVFilter ff_af_afifo;
>  extern const AVFilter ff_vf_fifo;
>  
You seem to have overlooked the comment above.

- Andreas


More information about the ffmpeg-devel mailing list