v4l2: define V4L2_FIELD_INTERLACED_{TB,BT} if not available in header
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 12 Jan 2011 20:38:59 +0000 (20:38 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 12 Jan 2011 22:41:17 +0000 (22:41 +0000)
commit9dcb60822f2befa8d5eeee7d927681a7406427fc
treea01e234b9b214cc14d4df0da3ca5acfb557108d6
parent0520052540f3c736e8e6694cb26a392fa2d260f4
v4l2: define V4L2_FIELD_INTERLACED_{TB,BT} if not available in header

Older kernels don't have these, and there's no easy way to check for the
existance of enums that doesn't involve a configure check, so just define
these if the V4L2_CAP_VIDEO_OUTPUT_OVERLAY define is not there, which was
added in the same commit as the TB/BT enum. Fixes compilation on CentOS 5.

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