v4l2object: always set the GstV4l2Error on error
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 20 Jul 2017 02:07:32 +0000 (22:07 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 21 Jul 2017 19:29:10 +0000 (15:29 -0400)
commit7d3b2628df30e8b31dcc5f36760cfd2eaa7264c9
tree904d397a3312a5a68ae2162db675e84d3373b76e
parent059ccf974991abf415a58680e293a3d8c5894437
v4l2object: always set the GstV4l2Error on error

Some of the error case were conditional to using try_fmt or not.
This is slightly unexpected, always set the error so the caller
can decide.

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