[Bug 750103] New: gstbuffer: _get_merged_memory: support memories that happen to be consecutive

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 29 05:58:38 PDT 2015


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

            Bug ID: 750103
           Summary: gstbuffer: _get_merged_memory: support memories that
                    happen to be consecutive
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ilya.konstantinov at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Sometimes GstMemory objects might not be in a parent-child hierarchy which
allows them to know that they span a single consecutive memory area.

However, when mapped, they end up being perfectly consecutive. For example,
this can happen with GstCoreVideoMemory on Apple platforms.

Wouldn't it be nice if _get_merged_memory will recognize such cases and avoid
allocating and memcpy'ing a new buffer in such cases?

Does this make sense?

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