gio: make better use of the cached buffer
authorJonathan Matthew <jonathan@d14n.org>
Sat, 3 Aug 2013 15:01:25 +0000 (01:01 +1000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 12 Aug 2013 13:24:31 +0000 (15:24 +0200)
commitcc1de5ae9403761155e24c4fe6f88cd788e92400
treeb5b53a46732f7f39294097b0e07de9d1b3c37837
parentca2a5153739955e99bd166b136384d15ffe41986
gio: make better use of the cached buffer

When playing mp3 files from a smb server, we get 64k read requests
that mostly overlap.  Without using the cache to partially satisfy
these, we send these requests straight to the server, resulting in
a lot more network traffic than necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=705415
gst/gio/gstgiobasesrc.c