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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel