summaryrefslogtreecommitdiff
path: root/libavformat/mux.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-06 15:01:33 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-05-10 07:27:36 +0200
commit7547f135485623e00844d2ad40debb5b048e6b5d (patch)
treef8ea9c5a584452ce4cc0a0e89bda658fa50c3fe8 /libavformat/mux.h
parent5130bbb7efe1125c515eddedc0985fa9b6e5d731 (diff)
avformat/utils: Move ff_stream_add_bitstream_filter to mux.c
It is muxing-only; in fact, it should be considered part of the core muxing code. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/mux.h')
-rw-r--r--libavformat/mux.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/mux.h b/libavformat/mux.h
index d1dc2fa2cb..4f6e8a50e5 100644
--- a/libavformat/mux.h
+++ b/libavformat/mux.h
@@ -57,6 +57,17 @@ const AVPacket *ff_interleaved_peek(AVFormatContext *s, int stream);
int ff_get_muxer_ts_offset(AVFormatContext *s, int stream_index, int64_t *offset);
/**
+ * 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);
+
+/**
* Write a packet to another muxer than the one the user originally
* intended. Useful when chaining muxers, where one muxer internally
* writes a received packet to another muxer.