diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-04-07 10:59:39 +0300 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-09-13 05:50:32 +0300 |
commit | 1f6d7eb47070afc4394348721cd149f940ad2386 (patch) | |
tree | 592357ec15ec62b3c9849a710981ef83cb830d3c /libavformat/avformat.h | |
parent | 5e1bf9d8c0d2cdbbf17b06a5dfdf87a635b3203b (diff) |
lavf: add a flag to enable/disable automatic bitstream filtering
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 74915a1482..43b225bb5a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1449,6 +1449,7 @@ typedef struct AVFormatContext { #define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000 ///< Don't merge side data but keep it separate. #define AVFMT_FLAG_FAST_SEEK 0x80000 ///< Enable fast, but inaccurate seeks for some formats #define AVFMT_FLAG_SHORTEST 0x100000 ///< Stop muxing when the shortest stream stops. +#define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Wait for packet data before writing a header, and add bitstream filters as requested by the muxer /** * Maximum size of the data read from input for determining |