diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-09-27 16:18:22 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-09-28 18:36:14 +0300 |
commit | a72f2679927158d7a00f846b5dede0f049c4668e (patch) | |
tree | fcd3599f84eb529e957eada1eccd944d6f6adba9 /include/dav1d/dav1d.h | |
parent | 916dc654384848883cd0537314e73bd9b8ae1d90 (diff) |
Add flush function
Diffstat (limited to 'include/dav1d/dav1d.h')
-rw-r--r-- | include/dav1d/dav1d.h | 5 |
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__ */ |