v4l2object: Fix dmabuf support detection
authorFlorent Thiéry <florent.thiery@ubicast.eu>
Wed, 29 Nov 2017 10:29:31 +0000 (11:29 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 29 Nov 2017 15:13:44 +0000 (10:13 -0500)
commita31581064013e729ae03f33c086cadb8919e17ab
tree0f88f82611b39f74c9a16d127157ad259fd365c8
parent0be4e801455a4537787e3cc9e59c4c9215b92d80
v4l2object: Fix dmabuf support detection

This resulted in improper selection of dmabuf on unsupported drivers.
The checked ioctl errno was not correct.

https://bugzilla.gnome.org/show_bug.cgi?id=790940
sys/v4l2/gstv4l2object.c