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
commiteb2fce499cd8a19bbf4bd821a8c78887bce84873 (patch)
treee0b1f2c856e7f794d49c809aaff648a94c55ff3a /include
parent88f38d57803e82f207020a5535adf9b214954633 (diff)
downloadogg-git-eb2fce499cd8a19bbf4bd821a8c78887bce84873.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.
svn path=/trunk/ogg/; revision=17098
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 **************************/