From eb2fce499cd8a19bbf4bd821a8c78887bce84873 Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Mon, 29 Mar 2010 05:35:11 +0000 Subject: Add a 'ogg_stream_pageout_fill' function to allow smart applications with delay sensitive flushing to produce big pages. Increase the default minimum fill amount to 8 based on latency measurements with actual files. These changes may be controversial but since we've recently had a release I thought there would be no harm in getting them into the repository for discussion. svn path=/trunk/ogg/; revision=17098 --- include/ogg/ogg.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ogg/ogg.h b/include/ogg/ogg.h index a96cdd7..d09eee2 100644 --- a/include/ogg/ogg.h +++ b/include/ogg/ogg.h @@ -159,6 +159,7 @@ extern int ogg_stream_packetin(ogg_stream_state *os, ogg_packet *op); extern int ogg_stream_iovecin(ogg_stream_state *os, ogg_iovec_t *iov, int count, long e_o_s, ogg_int64_t granulepos); extern int ogg_stream_pageout(ogg_stream_state *os, ogg_page *og); +extern int ogg_stream_pageout_fill(ogg_stream_state *os, ogg_page *og, int nfill); extern int ogg_stream_flush(ogg_stream_state *os, ogg_page *og); /* Ogg BITSTREAM PRIMITIVES: decoding **************************/ -- cgit v1.2.1