]> git.sesse.net Git - vlc/commit
Let the input bufferize more data when possible.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 16 Jul 2009 12:50:16 +0000 (14:50 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 16 Jul 2009 19:12:44 +0000 (21:12 +0200)
commit2f9d9766dfe25f100ef04d0d812aebdd18401c0d
treed25b78e36a45e5f04071ce48146a83ea87afe593
parent43aab2462d7b1d9c9fc9aa7eb51af25320bf09d7
Let the input bufferize more data when possible.

 The input will try to read 20% faster the source until a certain amount
of data is buffered by the fifo of the decoders (for now 10Mbytes or
500kbytes when OPTIMIZE_MEMORY is defined for the sum of all fifos).
 This buffering adds up to pts_delay without any additional delay but can
only work when VLC controls the source pace.

 It has a drawback with the current way the meta data works: they are seen
too soon.
src/input/clock.c
src/input/clock.h
src/input/es_out.c