[Bug 795173] kms: kmsbufferpool won't return false, when the input size won't apply to it

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 13 20:20:08 UTC 2018


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

--- Comment #4 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Randy Li (ayaka) from comment #2)
> The above patch won't work with the rockchip's 10bit pixel format.
> That format would store two pixel, for example, at the buffer beginning, the
> first full pixel and 6 bits of the next pixel would be stored in the
> beginning two bytes.
> When use that format, the stride means how many bytes should be used for a
> vertical pixel line. Then the stride from calculated from GstCaps would be
> much larger than the actually size.

I guess you mean that "height = vinfo->size / (arg.bpp / 8) / arg.width" fails,
it will fail for all the formats currently marked
GST_VIDEO_FORMAT_FLAG_COMPLEX.

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