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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 25 01:16:50 PDT 2013


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

--- Comment #51 from Gwenole Beauchesne <gb.devel at gmail.com> 2013-07-25 08:16:45 UTC ---
(In reply to comment #49)
> @Gwenole,
> 
> The g_array_set_size() will increase the size and setting the array size to the
> new length correctly. So i guess we doesn't need to set it manually. Because
> for each frame, we need to free all the members of the array (irrespective of
> whether we parsed the slice information to all members or not).

I thought you wanted 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?

> Do i need any change anything other than the "const" declaration ? (I am
> confused with your comment 48 :) )

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

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