kmssink: do not get kms bo pitch for planar formats
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 19 Oct 2016 12:54:44 +0000 (14:54 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 10 Nov 2016 14:57:24 +0000 (15:57 +0100)
commit4f19d5d20a3a15fc43f52f1f18b5c94a69aac157
tree04b4ed6ba67a84903da2263fed52823d7fe80132
parentb52c39e1c75d70a7ed18faf69258ef8a4e6342d0
kmssink: do not get kms bo pitch for planar formats

The API is ill defined for planar formats in case of dumb BOs,
do not use the reported stride in those cases.

https://bugzilla.gnome.org/show_bug.cgi?id=773473
sys/kms/gstkmsallocator.c