[Bug 785029] kmssink: compute proper pitch and offset for multi planar formats
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jul 17 15:36:20 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785029
--- Comment #2 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 355760
--> https://bugzilla.gnome.org/attachment.cgi?id=355760&action=edit
kmsallocator: use the actual maxsize of the allocated buffer
Use the actual size of the allocated DUMB buffer to GstMemory rather
than assuming it has exactly the requested size. It may be bigger
because of alignment constraints.
Also add a check to prevent overflow with buggy drivers.
--
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