summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-03-19 19:31:15 +0200
committerMartin Storsjö <martin@martin.st>2012-03-20 11:18:05 +0200
commit39f5a5462c07234453ad47a2a0158d390d4e42fc (patch)
tree9e947e3b65923cb1d6755e51b29f3330c6f20bd5 /libavformat/movenc.h
parentccfa8aa26f666372f47d69bc49e420a9b4239626 (diff)
movenc: Add a min_frag_duration option
The other fragmentation options (frag_duration, frag_size and frag_keyframe) are combined with OR, cutting fragments at the first of the conditions being fulfilled. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 350dbe04f2..3be43e0fc9 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -149,6 +149,7 @@ typedef struct MOVMuxContext {
int fragments;
int max_fragment_duration;
+ int min_fragment_duration;
int max_fragment_size;
int ism_lookahead;
AVIOContext *mdat_buf;