diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-06-24 22:02:50 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-10-24 03:53:21 -0500 |
commit | a246fef163387c0d79830a9bdf408443a9aba1c1 (patch) | |
tree | ba5a56853e481e34c2cf2dcceaae00cb0b2ae883 /libavformat/internal.h | |
parent | 8a24e03684cad4b8207a0317123ca2bd544d012e (diff) |
lavf/mux: add avformat_init_output
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 95776a09f5..da64c641a7 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -130,6 +130,16 @@ struct AVFormatInternal { * Timestamp of the end of the shortest stream. */ int64_t shortest_end; + + /** + * Whether or not avformat_init_output has already been called + */ + int initialized; + + /** + * Whether or not avformat_init_output fully initialized streams + */ + int streams_initialized; }; struct AVStreamInternal { |