v4l2: use GST_VIDEO_INFO_FIELD_HEIGHT()
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Thu, 30 Jan 2020 06:39:12 +0000 (12:09 +0530)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Wed, 25 Mar 2020 11:14:41 +0000 (12:14 +0100)
commit00893baef99cb4497aef9095178eae39b10f97f5
tree126dd70d2fc48c3af67b4296f85936ddf63cbb3a
parent0acd5d9f8b4bb14d5deecefa5a14b75515d696d7
v4l2: use GST_VIDEO_INFO_FIELD_HEIGHT()

Use GST_VIDEO_INFO_FIELD_HEIGHT() instead of GST_VIDEO_INFO_HEIGHT()
when we actually want the field height rather than the frame height.
So far both are equals but that won't longer be the case when
implementing alternate interlace mode.
sys/v4l2/gstv4l2object.c