summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-21 17:07:44 -0300
committerJames Almer <jamrial@gmail.com>2017-03-21 17:07:44 -0300
commitfc9f14c7de5bff05bab6f7b258ca70b777ce04ed (patch)
treeba41f1c576849fd54e61ea064d886a134a5914cf /libavformat/avio.h
parentde36e98a16f495d051e301653115ebf99a7d7929 (diff)
parent8ea35af7620e4f73f9e8c072e1c0fac9a04ec161 (diff)
downloadffmpeg-fc9f14c7de5bff05bab6f7b258ca70b777ce04ed.tar.gz
Merge commit '8ea35af7620e4f73f9e8c072e1c0fac9a04ec161'
* commit '8ea35af7620e4f73f9e8c072e1c0fac9a04ec161': avio: add a new flag for marking streams seekable by timestamp Merged-by: James Almer <jamrial@gmail.com>
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 cec7fd74d9..6f4ed8440d 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