[Bug 765418] New: gst_buffer_unmap() should reset GstMapInfo state

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


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

            Bug ID: 765418
           Summary: gst_buffer_unmap() should reset GstMapInfo state
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: marcin.kolny at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

It's very minor thing. I think, that when user calls gst_buffer_unmap (), he
should no longer be able to use GstMapInfo object, since using this object
after mapping might lead to unexpected behavior (e.g. memory can be removed).
However, GstMapInfo object is really needed after unmapping, user can always
make a copy of this 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