[Bug 691712] [API] codecparsers: add GstMetas to pass parsing results downstream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 25 01:28:38 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=691712
  GStreamer | gst-plugins-bad | git

--- Comment #52 from sreerenj <bsreerenj at gmail.com> 2013-07-25 08:28:35 UTC ---
(In reply to comment #51)
> (In reply to comment #49)
d to use Edward's trick to fill in entries as you parse
> them, only re-allocate the array when needed, and reset the correct length at
> the end?

The optimization patch is doing two things:

-- pre-allocate the array before each frame
-- avoid the memcpy introduced by g_array_append()

> 
> Forget about it, I thought your slice_index was computed and meant to be the
> index into the slice_info_array. :)

slice_index is indexing to the next index of the GArray to which we can parse
the slice. The value of slice_index is calculated to index the array correctly
for frame boundaries also.

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