opusenc: increase max payload size to 4000 bytes
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 27 Dec 2013 14:29:46 +0000 (14:29 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 27 Dec 2013 14:29:46 +0000 (14:29 +0000)
commit585a6c4addd2a1caf37f710256876cd524553f6a
tree95b1c02fcd34afa7eb155a34964c98f744583a3e
parentec3c4cb1c7a712894613d4fcf95835bb293c53de
opusenc: increase max payload size to 4000 bytes

1275 is the maximum size of a frame, but the encoder may return
up to 3 frames, and we need a few extra bytes for TOC, etc. We
use 4000, which is a bit more, and suggested in the libopus docs.
ext/opus/gstopusenc.c