[Bug 765418] gst_buffer_unmap() should reset GstMapInfo state

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


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

--- Comment #3 from Marcin Kolny (IRC: loganek) <marcin.kolny at gmail.com> ---
When I first time saw the unmap() method, I was pretty sure that GstMapInfo is
reset to initial state - this behavior seems to be natural for me. Moreover, I
think it's better to explicitly copy some values before unmap (e.g. size) if
the value is needed afterwards, instead of letting user to accidentally use
invalid object.

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