aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/upnp/ixmlwrap.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-11 22:52:26 +0200
committerMax Kellermann <max@duempel.org>2014-07-12 00:37:00 +0200
commita960e2ef48d21e73c7db7ead6f73c1b1d3ee8d42 (patch)
tree8b5ee25d414559a3bd297b815ffee71a87d75dd8 /src/lib/upnp/ixmlwrap.cxx
parent4fe272a7fbe45ab76f3af417d989c37fd4298ed1 (diff)
downloadmpd-a960e2ef48d21e73c7db7ead6f73c1b1d3ee8d42.tar.gz
mpd-a960e2ef48d21e73c7db7ead6f73c1b1d3ee8d42.tar.xz
mpd-a960e2ef48d21e73c7db7ead6f73c1b1d3ee8d42.zip
decoder/faad: estimate song duration for remote files
Previously, MPD tried to slurp the whole song file, count the number of frames and calculate the song duration from that. That however is extremely expensive for remote files, and will delay playback for a long time. Workaround: check only the first 128 frames and try to extrapolate from here. Fixes Mantis ticket 0004035.
Diffstat (limited to 'src/lib/upnp/ixmlwrap.cxx')
0 files changed, 0 insertions, 0 deletions