[Bug 780478] New: v4l2object: add videometa if there is padding to the right and bottom

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 23 21:12:52 UTC 2017


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

            Bug ID: 780478
           Summary: v4l2object: add videometa if there is padding to the
                    right and bottom
    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: dv at pseudoterminal.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

v4l2object only adds videometa if necessary. It performs several checks to see
if the videometa is actually needed. One of these checks sees if there is
padding present. However, at the moment, it only looks at the top and left
borders for padding - not at the right and bottom ones.

The result is that pipelines like this one produce incorrect results:

  videotestsrc ! "video/x-raw, format=I420, width=480, height=270" ! x264enc !
v4l2videoNdec

Since 270 is not a multiple of 16, x264 will add 2 padding rows to the bottom.
And since v4l2object ignores these padding rows, it will not add a videometa,
even though it is actually needed to inform downstream about the correct plane
offsets with the padding included.

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