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:
authorVictorien Le Couviour--Tuffet <victorien@videolan.org>2021-01-08 18:58:45 +0300
committerVictorien Le Couviour--Tuffet <victorien@videolan.org>2021-02-01 13:18:04 +0300
commit288ed4b8ec47eeee7f888bf8c6f3758d0391eda1 (patch)
treeefdfecacd91ee14eae5799bd9a052e4e9655f801 /examples/dp_fifo.h
parent7c316a70358aa3d1b361471d11a1b2671067faca (diff)
dav1dplay: Add pause and seek features
Diffstat (limited to 'examples/dp_fifo.h')
-rw-r--r--examples/dp_fifo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/dp_fifo.h b/examples/dp_fifo.h
index a94b089..03d8e47 100644
--- a/examples/dp_fifo.h
+++ b/examples/dp_fifo.h
@@ -59,3 +59,5 @@ void *dp_fifo_shift(Dav1dPlayPtrFifo *fifo);
* other thread will call dp_fifo_shift will lead to a deadlock.
*/
void dp_fifo_push(Dav1dPlayPtrFifo *fifo, void *element);
+
+void dp_fifo_flush(Dav1dPlayPtrFifo *fifo, void (*destroy_elem)(void *));