v4l2: Add an error return to _try/_set_format
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 7 Jun 2016 20:04:52 +0000 (16:04 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 7 Jun 2016 21:02:43 +0000 (17:02 -0400)
commit3b5cac3659884f37bf338305517fc418c4f51e76
treefe8c8c83416f2c74e960e8475e62d7691fa0b129
parente228430788c920cba8812021d2ed12061951a81a
v4l2: Add an error return to _try/_set_format

This way one can easily ignore errors. Previously, error were always
posted ont he bus.

https://bugzilla.gnome.org/show_bug.cgi?id=766172
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2sink.c
sys/v4l2/gstv4l2src.c
sys/v4l2/gstv4l2transform.c
sys/v4l2/gstv4l2videodec.c