summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2015-10-07 21:23:11 -0500
committerRodger Combs <rodger.combs@gmail.com>2015-12-28 08:34:30 -0600
commit4caa3e1c6cf452154e811fea3685b2dea50d3a7a (patch)
tree356a73dae7ec00d9e104e7d94f987633bd0e39d7 /libavformat/avformat.h
parent397774603690b2f24222aded19b5f8a41d830fc1 (diff)
lavf: add API to apply a list of bsfs to a packet
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h11
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);
/**
* @}