From 8ea35af7620e4f73f9e8c072e1c0fac9a04ec161 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 27 Sep 2016 15:44:54 +0200 Subject: avio: add a new flag for marking streams seekable by timestamp --- libavformat/avio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/avio.h') diff --git a/libavformat/avio.h b/libavformat/avio.h index 5d2f8c2031..49721aa131 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -39,6 +39,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 -- cgit v1.2.3