[Bug 734360] [API] bytereader: add _get_sub_reader() and _peek_sub_reader()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 15 02:06:26 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734360
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.5.1
            Summary|[API] bytereader: add       |[API] bytereader: add
                   |_get_sub_reader() and       |_get_sub_reader() and
                   |_init_sub_reader()          |_peek_sub_reader()

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-08-15 09:06:21 UTC ---
Went for peek + get instead:

commit 86d7a597f00b7e1a6619cf566bfb27adb7f3f8c2
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Wed Aug 6 14:01:09 2014 +0100

    bytereader: add gst_byte_reader_peek_sub_reader() and _get_sub_reader()

    Adds API to get or peek a sub-reader of a certain size from
    a given byte reader. This is useful when parsing nested chunks,
    one can easily get a byte reader for a sub-chunk and make
    sure one never reads beyond the sub-chunk boundary.

    API: gst_byte_reader_peek_sub_reader()
    API: gst_byte_reader_get_sub_reader()

-- 
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