[gstreamer-bugs] [Bug 619828] [API] adapter: add masked_scan_uint32_peek
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jun 14 03:19:02 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=619828
GStreamer | gstreamer (core) | git
--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-06-14 10:18:59 UTC ---
(From update of attachment 163559)
>+guint
>+gst_adapter_masked_scan_uint32_flush (GstAdapter * adapter, guint32 mask,
>+ guint32 pattern, guint offset, guint size)
>+{
>...
>+ location = gst_adapter_masked_scan_uint32_peek (adapter, mask, pattern,
>+ offset, size, &result);
>+ if (location >= 0)
>+ gst_adapter_flush (adapter, location);
>+
>+ return result;
>+}
I wonder if we should still flush SIZE-N byte here in the 'not found' case.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list