summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-24 21:29:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-24 21:48:36 +0200
commit8a68697dc66234d0a5fc50b4d67a94921c9893d1 (patch)
tree6bb656289d89c3a6653e5316c4846bb7236a3966 /libavformat/avformat.h
parente4253b1a4f5e296dfb41620c02e08650609e6819 (diff)
Add flag to force demuxers to sort more strictly by dts.
This enables non interleaved AVI mode for example. Players that are picky on strict interleaving can set this. Patches to only switch to non intereaved AVI mode when the index is not strictly correctly interleaved are welcome. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 767356a439..2f41f7263b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -726,6 +726,7 @@ typedef struct AVFormatContext {
#define AVFMT_FLAG_NOFILLIN 0x0010 ///< Do not infer any values from other values, just return what is stored in the container
#define AVFMT_FLAG_NOPARSE 0x0020 ///< Do not use AVParsers, you also must set AVFMT_FLAG_NOFILLIN as the fillin code works on frames and no parsing -> no frames. Also seeking to frames can not work if parsing to find frame boundaries has been disabled
#define AVFMT_FLAG_RTP_HINT 0x0040 ///< Add RTP hinting to the output file
+#define AVFMT_FLAG_SORT_DTS 0x10000 ///< try to interleave outputted packets by dts (using this flag can slow demuxing down)
int loop_input;