[Bug 650093] [baseparse] GstBaseParseFrame extensibility/flexibility needed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 16 03:16:27 PDT 2011


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

--- Comment #2 from Mark Nauwelaerts <mnauw at users.sourceforge.net> 2011-05-16 10:16:25 UTC ---
Presumably it is then up to subclass to actually fill in this pointer and set
up corresponding area, in which case that is one approach.

A simplified version would be a flag (e.g.)
GST_BASE_PARSE_FRAME_FLAG_SEEN_FRAME, that could be set by subclass whenever it
stores some state data, and this flag not being set is a sign to clear any
state data (in the case above, pointer == NULL then serves as such as a
"sign").

The former is more general/cleaner, the simpler approach entails less bloat for
the subclass and might avoid some additional alloc/free.

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