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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 17 16:38:33 UTC 2018


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

--- Comment #5 from Randy Li (ayaka) <ayaka at soulik.info> ---
I use a way to solve this problem with 10bit color pixel format,
height = vinfo->size / arg.width;
in the allocation_caps, when the pixel format is 10bit color pixel format
gst_video_info_set_format (align_info, format, (hor_stride / 10) << 3,
ver_stride);
It would use the stride(pitch) calculation in kernel and bpp would expend its
size.
But I really don't want cheat the downstream element in this way.

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