libs/gst/base/gsttypefindhelper.c: Sort buffer cache list by end offsets. This makes...
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 16 May 2008 21:09:45 +0000 (21:09 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 16 May 2008 21:09:45 +0000 (21:09 +0000)
commit654ba215dffd2dac92540575d67096b99dafcbfa
tree2d615fe087319362fca574511ced8be424a78eaf
parentf6b8cf77d9ceaf9217384930721d8185ae45fce5
libs/gst/base/gsttypefindhelper.c: Sort buffer cache list by end offsets. This makes sure that we don't stop to searc...

Original commit message from CVS:
* libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
Sort buffer cache list by end offsets. This makes sure that we don't
stop to search for a cached buffer that contains the requested data
too early.
Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
more efficient. Fixes bug #459862.
ChangeLog
common
libs/gst/base/gsttypefindhelper.c