diff options
author | Gregory Maxwell <greg@xiph.org> | 2010-03-29 05:35:11 +0000 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2010-03-29 05:35:11 +0000 |
commit | eb2fce499cd8a19bbf4bd821a8c78887bce84873 (patch) | |
tree | e0b1f2c856e7f794d49c809aaff648a94c55ff3a /include | |
parent | 88f38d57803e82f207020a5535adf9b214954633 (diff) | |
download | ogg-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.h | 1 |
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 **************************/ |