summaryrefslogtreecommitdiff
path: root/libavcodec/xan.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-12-30 17:00:00 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2013-01-08 15:42:36 -0500
commit59220d559b5077c15fa6434e42df95f3b92f0199 (patch)
treee4ea61c2df78db4a4bd9a59c8362c50f27c2f3dd /libavcodec/xan.c
parenta6a3164b1399372dcf779643d7d605d7438c91b7 (diff)
oggenc: add a page_duration option and deprecate the pagesize option
This uses page duration instead of byte size to determine when to buffer the page. Also, it tries to avoid continued pages by buffering the current page if there are already packets in the page and adding the next packet would require it to be continued on a new page. This can improve seeking performance. The default page duration is 1 second, which is much saner than filling all page segments by default.
Diffstat (limited to 'libavcodec/xan.c')
0 files changed, 0 insertions, 0 deletions