summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-09-27 15:44:54 +0200
committerAnton Khirnov <anton@khirnov.net>2016-09-30 16:55:45 +0200
commit8ea35af7620e4f73f9e8c072e1c0fac9a04ec161 (patch)
treeda2d061e034641f00bf07954247dc57a99f50b49 /libavformat/avio.h
parent75c1db6152c7c90c7ce28c9adb945028e5512c4f (diff)
avio: add a new flag for marking streams seekable by timestamp
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 5d2f8c2031..49721aa131 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -40,6 +40,11 @@
#define AVIO_SEEKABLE_NORMAL (1 << 0)
/**
+ * Seeking by timestamp with avio_seek_time() is possible.
+ */
+#define AVIO_SEEKABLE_TIME (1 << 1)
+
+/**
* Callback for checking whether to abort blocking functions.
* AVERROR_EXIT is returned in this case by the interrupted
* function. During blocking operations, callback is called with