[Bug 765418] gst_buffer_unmap() should reset GstMapInfo state

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 22 10:16:47 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765418

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
I wonder if we've tried this before but had to revert it.

I don't think we can change this now, even if I agree that it'd been cleaner to
do so.

GstMapInfo is a stack-allocated helper struct, I don't think there's any reason
to believe it's in any particular state after unmapping. Arguably it's also
desirable from a performance point of view not to clear it unnecessarily.

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