v4l2src: Flag interlaced buffers as interlaced.
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>
Fri, 21 Feb 2014 14:31:59 +0000 (14:31 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 21 Feb 2014 19:48:06 +0000 (19:48 +0000)
commitb4820460d887fdd14844af74ee3d010b1f98d530
treee6d7357433defa400231b5c6d585a4db5869228f
parent0898de65c8605f8d4a05c0ca8d1d484c328965e1
v4l2src: Flag interlaced buffers as interlaced.

We correctly indicate the field ordering on interlaced buffers, but fail to
flag them as containing interlaced video, which we need to do here because
we signal interlace-mode=mixed in our caps. This means that downstream
elements (like vaapipostproc from gstreamer-vaapi) don't recognise these
buffers as in need of deinterlacing.

Fix this by setting the interlaced flag on all interlaced buffers.

Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=724899
sys/v4l2/gstv4l2bufferpool.c