diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-29 08:33:32 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-07 08:04:40 +0400 |
commit | 537ef8bebf8a35aab448db6ec876e275a10f0f15 (patch) | |
tree | 9c291f6a92041073d9e444c998b66aee6e2ebab2 /libavformat/movenc.h | |
parent | d067e2543752fd80f10d1197952523c650ea5c44 (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.h | 2 |
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 |