]> git.tuebingen.mpg.de Git - paraslash.git/commit
oggdec filter improvements.
authorAndre Noll <maan@systemlinux.org>
Sat, 19 Sep 2009 08:38:25 +0000 (10:38 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 19 Sep 2009 08:38:25 +0000 (10:38 +0200)
commitd38eb22bbb5e89d70872a6ed07766f937af3ee47
treea01b9e30970e6f5364b871ddb3b44be0f2a11d68
parent80dba626e7eddcaa9059e37afef95ad01967d833
oggdec filter improvements.

Try to open the ogg vorbis callbacks as soon as possible rather
than waiting until the input buffer reaches the given initial buffer
size. If that fails, try again later when more data is available but
fail if the input buffer size is larger than the initial buffer size
and we can still not open the ov callbacks.

Also, if a hole was detected, likely because we started streaming
in the middle of the file, add an additional delay to avoid buffer
underruns.
oggdec_filter.c