[Bug 691712] [API] codecparsers: add GstMetas to pass parsing results downstream
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jul 19 03:19:09 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=691712
GStreamer | gst-plugins-bad | git
--- Comment #25 from Edward Hervey <bilboed at gmail.com> 2013-07-19 10:19:06 UTC ---
You can use/fill a GArray efficiently by doing the following:
* Create it with the known number of entries
* iterate and fill directly (MySomething *something = &g_array_index(array,
MySomething, i);)
* Once you've filled it, set the array->len to the number of entries
voila. No memcpy
--
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