cache: read up to 64 KiB at once from stream_file
commit0792847d4aeca71c0e61d47a9734d192506f1249
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Wed, 10 Nov 2010 17:21:28 +0000 (10 17:21 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Sun, 14 Nov 2010 10:24:11 +0000 (14 12:24 +0200)
tree4c88895bc35b3a76d679e8901b16141ab5d4d68e
parentb2c09ad9a4c6df34a7ce5b5cffc134b36983093d
cache: read up to 64 KiB at once from stream_file

Make the file protocol read up to 64 KiB at once when the cache is used,
assuming that files will generally be readable with high bandwidth.
This should improve performance when playing e.g. from high-latency
network shares.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32616 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/cache2.c
stream/stream.h
stream/stream_file.c