v4l2bufferpool: set buffer interlace flags when field is V4L2_FIELD_INTERLACED
authorAurélien Zanelli <aurelien.zanelli@parrot.com>
Tue, 9 Dec 2014 13:01:50 +0000 (14:01 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 9 Dec 2014 16:00:28 +0000 (11:00 -0500)
commit62193129c510f3ee8586d18f9084e635b1874a24
treeb41b5af09a1fd0e46f5671956de8cf3c3d4978f3
parentfef1a8d88a5e84421eae12b83ce4ae2d4fa329ec
v4l2bufferpool: set buffer interlace flags when field is V4L2_FIELD_INTERLACED

If v4l2_buffer.field is V4L2_FIELD_INTERLACED, we set corresponding
GstVideoBuffer flags depending on the video standard.
According to V4L2 specification, M/NTSC transmits the bottom field
first, all other standards the top field first.

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