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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 19 11:14:36 PDT 2013


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

--- Comment #31 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-07-19 18:12:22 UTC ---
Ok, so:

1) modifying array->len is not kosher, according to glib developers, but

2) g_array_set_size() *does* set array->len as well, so does what we want.

I think it's ok for starters to just do it the dumb way, i.e. parse into
SliceInfo structure on the stack, then call g_array_append_val() causing a
memcpy of the struct. We can then improve it later. It's just an implementation
detail, no need to block on it.

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