summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-06 01:25:57 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-02-07 21:54:41 +0100
commita8e748eee506f86b345323f532a87ab2050a00f2 (patch)
tree04229fc51c55a1a490c6c2ab94a8ad526b6194d0 /libavformat/avformat.h
parent7c00d853a65884870e2a7a916197d87c125ed630 (diff)
lavf: add seek2any to allow forcing seeking to non keyframes via AVOptions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 8330c6b61b..03fca57051 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1203,6 +1203,13 @@ typedef struct AVFormatContext {
*/
unsigned int correct_ts_overflow;
+ /**
+ * Force seeking to any (also non key) frames.
+ * - encoding: unused
+ * - decoding: Set by user via AVOPtions (NO direct access)
+ */
+ int seek2any;
+
/*****************************************************************
* All fields below this line are not part of the public API. They
* may not be used outside of libavformat and can be changed and