diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2015-10-07 21:23:11 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2015-12-28 08:34:30 -0600 |
commit | 4caa3e1c6cf452154e811fea3685b2dea50d3a7a (patch) | |
tree | 356a73dae7ec00d9e104e7d94f987633bd0e39d7 /libavformat/avformat.h | |
parent | 397774603690b2f24222aded19b5f8a41d830fc1 (diff) | |
download | ffmpeg-4caa3e1c6cf452154e811fea3685b2dea50d3a7a.tar.gz |
lavf: add API to apply a list of bsfs to a packet
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 32bed018ef..39aedb5c6d 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2764,6 +2764,17 @@ int avformat_match_stream_specifier(AVFormatContext *s, AVStream *st, int avformat_queue_attached_pictures(AVFormatContext *s); +/** + * Apply a list of bitstream filters to a packet. + * + * @param codec AVCodecContext, usually from an AVStream + * @param pkt the packet to apply filters to + * @param bsfc a NULL-terminated list of filters to apply + * @return >=0 on success; + * AVERROR code on failure + */ +int av_apply_bitstream_filters(AVCodecContext *codec, AVPacket *pkt, + AVBitStreamFilterContext *bsfc); /** * @} |