[gstreamer-bugs] [Bug 596832] configurable buffer alignment
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Oct 2 06:59:45 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=596832
GStreamer | gstreamer (core) | git
Jan Schmidt <thaytan> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thaytan at mad.scientist.com
--- Comment #9 from Jan Schmidt <thaytan at mad.scientist.com> 2009-10-02 13:59:39 UTC ---
style pick: Using #if/#elif/#endif is easier to read than
#if/#else/#ifdef/#endif/#endif chains.
Another side effect of this is that buffers no longer use g_free() by default,
which will break the (not common, but does exist) case where elements allocate
the buffer data themselves with g_malloc and set the MALLOCDATA() on the
buffer. I think GST_BUFFER_FREE_FUNC (buffer) should only be set to free() in
gst_buffer_new_and_alloc() and gst_buffer_try_new_and_alloc() - when the buffer
allocates the data itself.
--
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