[FFmpeg-devel] [PATCH 02/13] lavf: update auto-bsf to new BSF API
Marton Balint
cus at passwd.hu
Sun Jun 12 23:43:50 CEST 2016
On Sun, 12 Jun 2016, Rodger Combs wrote:
> ---
> libavformat/internal.h | 5 +++--
> libavformat/mux.c | 45 +++++++++++++++++++++++++++++---------
> libavformat/segment.c | 6 +++--
> libavformat/utils.c | 59 +++++++++++++++++++++++++++++++++++++++++---------
> 4 files changed, 91 insertions(+), 24 deletions(-)
>
> diff --git a/libavformat/internal.h b/libavformat/internal.h
> index 40ba089..52f9eb6 100644
> --- a/libavformat/internal.h
> +++ b/libavformat/internal.h
> @@ -134,11 +134,12 @@ struct AVStreamInternal {
> int reorder;
>
> /**
> - * bitstream filter to run on stream
> + * bitstream filters to run on stream
> * - encoding: Set by muxer using ff_stream_add_bitstream_filter
> * - decoding: unused
> */
> - AVBitStreamFilterContext *bsfc;
> + AVBSFContext **bsfcs;
> + int nb_bsfcs;
There was an RFC on the mailing list for a chain BSF filter which is able
pump the packets through a list of filters. So you probably don't have to
support multiple filters, it is enough if you support a single one.
Regards,
Marton
More information about the ffmpeg-devel
mailing list