chiark / gitweb /
server/gstdecode.c: Limit the buildup of internal buffers.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 26 Nov 2017 20:30:00 +0000 (20:30 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 29 Nov 2017 11:47:21 +0000 (11:47 +0000)
commit01eab3cad51f9286701d8148e9875bd7467a6b82
treecf6f546e584e3aaed621fdc696cc61491d0322a1
parentff56519f303d58db08eadf5e36356afcc27234fc
server/gstdecode.c: Limit the buildup of internal buffers.

Block upstream decoding if we start to build up too many buffers
(presumably because downstream is waiting for real time to pass while it
plays audio at us).

The magic number 16 is plucked from nowhere in particular.  I have no
idea how to choose a number properly.
server/gstdecode.c