[FFmpeg-cvslog] lavf: add AVFMT_SEEK_TO_PTS to indicate seeking is per PTS.

Michael Niedermayer git at videolan.org
Mon Apr 30 18:42:35 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr 30 15:47:58 2012 +0200| [e738811cebf4b5c1331eb4611b4a8239787f3b33] | committer: Michael Niedermayer

lavf: add AVFMT_SEEK_TO_PTS to indicate seeking is per PTS.

See: [FFmpeg-devel] [PATCH] Add documentation that seeking is done by DTS and not PTS

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e738811cebf4b5c1331eb4611b4a8239787f3b33
---

 libavformat/avformat.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index d2727d4..730ce12 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -351,6 +351,7 @@ 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_SEEK_TO_PTS   0x4000000 /**< Seeking is based on PTS */
 #define AVFMT_TS_NONSTRICT  0x8000000 /**< Format does not require strictly
                                            increasing timestamps, but they must
                                            still be monotonic */



More information about the ffmpeg-cvslog mailing list