summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2010-03-29 05:35:11 +0000
committerGregory Maxwell <greg@xiph.org>2010-03-29 05:35:11 +0000
commit957707c1ca05d2b43aac01361643399bc3f3c1fa (patch)
treee0b1f2c856e7f794d49c809aaff648a94c55ff3a /include
parenta8c8b500e09b09c50cd2c630f5327c59cd1e5168 (diff)
downloadogg-957707c1ca05d2b43aac01361643399bc3f3c1fa.tar.gz
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.
git-svn-id: http://svn.xiph.org/trunk/ogg@17098 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include')
-rw-r--r--include/ogg/ogg.h1
1 files changed, 1 insertions, 0 deletions
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 **************************/