v4l2object: Move mplane logic into gst_v4l2_object_get_caps_info()
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 4 Dec 2013 20:09:10 +0000 (15:09 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 10 Jan 2014 22:13:22 +0000 (17:13 -0500)
commita64de44a0cf3b99285851bae02e1f9e7f5093050
tree9ef3e888c8f273e8d89f3656fd70893bb6a3ac6b
parent4956b46bab4c896d0ba5bf1264071cdc94506318
v4l2object: Move mplane logic into gst_v4l2_object_get_caps_info()

It makes the gst_v4l2_object_set_format() slightly simplier and will make that
logic reusable. Note that gst_v4l2_object_has_mplane() will always return the
same value for one device. There is no need to check against the caps as this
has already been done by _open.

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