summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-29 06:33:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-07 06:04:40 +0200
commit537ef8bebf8a35aab448db6ec876e275a10f0f15 (patch)
tree9c291f6a92041073d9e444c998b66aee6e2ebab2 /libavformat/movenc.h
parentd067e2543752fd80f10d1197952523c650ea5c44 (diff)
movenc: support an alternative to edit lists to handle the first DTS != 0 case.
Some software does not support edit lists at all, the adobe flash player seems to be one of these. Which results in AV sync errors when edit lists are used to adjust AV sync. 2nd try on implementing this, the first try had various issues Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 7c87f6b14d..b5d066f4d9 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -165,6 +165,8 @@ typedef struct MOVMuxContext {
int max_fragment_size;
int ism_lookahead;
AVIOContext *mdat_buf;
+
+ int use_editlist;
} MOVMuxContext;
#define FF_MOV_FLAG_RTP_HINT 1