aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-02 17:06:15 +0100
committerMax Kellermann <max@duempel.org>2008-11-02 17:06:15 +0100
commit460b15d29c125a70c37dd484fb0268698331504d (patch)
treeb1d19d118b72052e33c28d91213de2f5fd26902d /src/output_thread.c
parent020c04e7020226a258e6dbffe3435944264823d1 (diff)
downloadmpd-460b15d29c125a70c37dd484fb0268698331504d.tar.gz
mpd-460b15d29c125a70c37dd484fb0268698331504d.tar.xz
mpd-460b15d29c125a70c37dd484fb0268698331504d.zip
input_curl: buffered rewinding
During codec detection, the beginning of the stream is consumed. This is a common operation, which takes a lot of time when handling remote resources. To optimize this, remember the first 64 kB of a stream. This way, we can rewind the stream without actually fetching the start of the stream again.
Diffstat (limited to 'src/output_thread.c')
0 files changed, 0 insertions, 0 deletions