[gstreamer-bugs] [Bug 339744] [0.11] use the const keyword more often
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Apr 25 12:35:01 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=339744
GStreamer | gstreamer (core) | Ver: HEAD CVS
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
------- Comment #1 from Tim-Philipp Müller 2006-04-25 19:35 UTC -------
while we're at it, we could save quite a bit of memory if we didn't g_strdup()
all those element detail strings in
void
gst_element_class_set_details (GstElementClass * klass,
const GstElementDetails * details);
which are almost always const strings anyway (the few cases where that isn't
the case we can just alloc + leak IMHO, or convert to a GQuark and get the
string and then blame GLib ;)).
--
Configure bugmail: http://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