From a246fef163387c0d79830a9bdf408443a9aba1c1 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Fri, 24 Jun 2016 22:02:50 -0500 Subject: 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. --- libavformat/internal.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libavformat/internal.h') 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 { -- cgit v1.2.3