aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-03-12 16:54:42 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-03-24 23:19:07 +0100
commit4f112a8e34022c821be885ed293abc0b120c875b (patch)
treec8f636ef2e96887d9c043e3b362e1b7cff10b2bb /libavformat/avformat.h
parent125acd215250ead008938266efcacd56743f3a2a (diff)
downloadffmpeg-4f112a8e34022c821be885ed293abc0b120c875b.tar.gz
lavf/mux: add the flush_packets option.
Note: a lot of muxers already do the flushing explicitly.
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 4b8731cb86..549a0fa45f 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1213,6 +1213,13 @@ typedef struct AVFormatContext {
*/
int seek2any;
+ /**
+ * Flush the I/O context after each packet.
+ * - encoding: Set by user via AVOptions (NO direct access)
+ * - decoding: unused
+ */
+ int flush_packets;
+
/*****************************************************************
* All fields below this line are not part of the public API. They
* may not be used outside of libavformat and can be changed and