v4l2bufferpool: Validate stride/offset when importing
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 25 Jul 2018 23:27:01 +0000 (19:27 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 27 Aug 2018 17:41:30 +0000 (13:41 -0400)
commit480a7bcab8cf778d455bbd13ac43aed563525d1a
treeed4568200000ddc13663c33444010d31dfb1070f
parent1c729be537fe5966021a14487603426f1eb29d9c
v4l2bufferpool: Validate stride/offset when importing

This will prevent situation where buffer size allow importing but rendering
goes wrong due to a miss-match in expected stride and offset.

https://bugzilla.gnome.org/show_bug.cgi?id=583890
sys/v4l2/gstv4l2bufferpool.c