[Bug 758424] New: v4l2videodec: Keep the input buffers, they are needed to copy metadata

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 20 12:01:52 PST 2015


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

            Bug ID: 758424
           Summary: v4l2videodec: Keep the input buffers, they are needed
                    to copy metadata
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas.dufresne at collabora.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In the v4l2videodec element, we drop the input buffer, to avoid wasting memory.
Though, this prevent the metadata from being copied later.

videodecoder
gstvideodecoder.c:3074:gst_video_decoder_finish_frame:<v4l2video0dec0> Can't
copy metadata because input frame disappeared

Extra careful note, right now we don't share the input buffer pool (it's
probably not a good idea anyway), though if we did, in this case, we'd have to
make sure that we have enough input buffers (basically, the the capture minimum
becomes the encoded buffer minimum).

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