Mercurial > libavformat.hg
diff avio.h @ 5850:a9a36b4f83a2 libavformat
Add AVSEEK_FORCE flag to indicate that the code should attempt to seek
by any means.
author | michael |
---|---|
date | Mon, 15 Mar 2010 22:54:22 +0000 |
parents | 60f12d6e951c |
children | c520016533ed |
line wrap: on
line diff
--- a/avio.h Mon Mar 15 22:37:14 2010 +0000 +++ b/avio.h Mon Mar 15 22:54:22 2010 +0000 @@ -192,6 +192,14 @@ */ #define AVSEEK_SIZE 0x10000 +/** + * Oring this flag as into the "whence" parameter to a seek function causes it to + * seek by any means (like reopening and linear reading) or other normally unreasonble + * means that can be extreemly slow. + * This may be ignored by the seek code. + */ +#define AVSEEK_FORCE 0x20000 + typedef struct URLProtocol { const char *name; int (*url_open)(URLContext *h, const char *url, int flags);