From 822e80fde39f8992daeab6d51312f27188021d9b Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Wed, 7 Oct 2015 21:10:08 -0500 Subject: lavf: add internal API to append a bsf to a stream's list --- libavformat/internal.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libavformat/internal.h') diff --git a/libavformat/internal.h b/libavformat/internal.h index 0e59da0c2d..2cb3481f8c 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -464,6 +464,17 @@ enum AVChromaLocation ff_choose_chroma_location(AVFormatContext *s, AVStream *st */ int ff_generate_avci_extradata(AVStream *st); +/** + * Add a bitstream filter to a stream. + * + * @param st output stream to add a filter to + * @param name the name of the filter to add + * @param args filter-specific argument string + * @return >0 on success; + * AVERROR code on failure + */ +int ff_stream_add_bitstream_filter(AVStream *st, const char *name, const char *args); + /** * Wrap errno on rename() error. * -- cgit v1.2.3