]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
oggdec: Replace stream start delay by minimum input queue size.
authorAndre Noll <maan@systemlinux.org>
Mon, 17 Jan 2011 07:32:52 +0000 (08:32 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 13 Feb 2011 22:15:03 +0000 (23:15 +0100)
Waiting 300ms at stream start is both ugly and unnecessary if playback
does not start in the middle of the stream. This patch removes the
->stream_start member of struct private_oggdec_data and delays plaback
only if ov_read returns OV_HOLE, i.e. if streaming does not start at
the beginning of the file.

This delay is enforced by setting the minimal input queue size.


No differences found