[Bug 779524] New: buffer with video meta information do not support memory split buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 3 11:11:55 UTC 2017


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

            Bug ID: 779524
           Summary: buffer with video meta information do not support
                    memory split buffers
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: fziglio at redhat.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Try to avoid some clipping of images and pass DRM primes to GStreamer I tried
to use gst_buffer_add_video_meta_full functions. This worked well on textures
(DRM primes) and frames composed by a single memory chunk but with frames (that
is GstBuffer) having multiple memory chunks (GstMemory) you get memory errors.
This is due to the fact that gst_video_frame_map_id (called internally by
GStreamer) assume that if there are video meta information attached there is a
single chunk of memory.
This behaviour is not documented for gst_buffer_add_video_meta_full or
GstVideoMeta and having multiple GstMemory is supported normally so for me is
an API or documentation bug.
Looking at git master code there are no changes (either implementation or
documentation) in this respect.

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