diff options
author | James Zern <jzern@google.com> | 2011-05-26 20:19:04 +0200 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-05-20 19:50:32 -0400 |
commit | e9cef89702e2bde918102e784c6b75a7979e85d1 (patch) | |
tree | 7eb62b52511661d3e0d8f272ca975d4c5d3b8c4a /libavformat/avformat.h | |
parent | 5d603f1b655ee717c6639fc2fcb2c13e4a925b6f (diff) | |
download | ffmpeg-e9cef89702e2bde918102e784c6b75a7979e85d1.tar.gz |
avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 33e9098ff3..040e35eb92 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -351,6 +351,9 @@ typedef struct AVProbeData { #define AVFMT_NOGENSEARCH 0x4000 /**< Format does not allow to fallback to generic search */ #define AVFMT_NO_BYTE_SEEK 0x8000 /**< Format does not allow seeking by bytes */ #define AVFMT_ALLOW_FLUSH 0x10000 /**< Format allows flushing. If not set, the muxer will not receive a NULL packet in the write_packet function. */ +#define AVFMT_TS_NONSTRICT 0x20000 /**< Format does not require strictly + increasing timestamps, but they must + still be monotonic */ /** * @addtogroup lavf_encoding @@ -373,7 +376,8 @@ typedef struct AVOutputFormat { /** * can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_RAWPICTURE, * AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS, - * AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_ALLOW_FLUSH + * AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_ALLOW_FLUSH, + * AVFMT_TS_NONSTRICT */ int flags; |