[gstreamer-bugs] [Bug 459862] typefinding coud be more efficient

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed May 14 13:20:51 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=459862

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #11 from Sebastian Dröge  2008-05-14 20:20 UTC -------
Created an attachment (id=110929)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=110929&action=view)
typefind.diff

What about this patch? It sorts the list by offset+size and uses 4k as minimal
buffer size that is peeked. We use 4k at other places for caching like this too
so it should be fine ;) Also it's the page size on x86.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=459862.




More information about the Gstreamer-bugs mailing list