Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2018-09-27 16:18:22 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-09-28 18:36:14 +0300
commita72f2679927158d7a00f846b5dede0f049c4668e (patch)
treefcd3599f84eb529e957eada1eccd944d6f6adba9 /include
parent916dc654384848883cd0537314e73bd9b8ae1d90 (diff)
Add flush function
Diffstat (limited to 'include')
-rw-r--r--include/dav1d/dav1d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h
index d9965eb..bf11eaa 100644
--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -84,4 +84,9 @@ DAV1D_API int dav1d_decode(Dav1dContext *c, Dav1dData *in, Dav1dPicture *out);
*/
DAV1D_API void dav1d_close(Dav1dContext **c_out);
+/**
+ * Flush all delayed frames in decoder, to be used when seeking.
+ */
+DAV1D_API void dav1d_flush(Dav1dContext *c);
+
#endif /* __DAV1D_H__ */