vaapipostproc: use GstBuffer flags for TFF.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 13 Dec 2012 14:47:27 +0000 (15:47 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Dec 2012 14:31:51 +0000 (15:31 +0100)
commitc21d76cff2d6fe0dbab212bf7f55b0c9d5f83c46
tree23645b312ace840644f9c4945edd352a995855c4
parent936d8b8fc6287424485670d6e3d51ce39d41bb5f
vaapipostproc: use GstBuffer flags for TFF.

Determine whether the buffer represents the top-field only by checking for
the GST_VIDEO_BUFFER_TFF flag instead of relying on the GstVaapiSurfaceProxy
flag. Also trust "interlaced" caps to determine whether the input frame
is interleaved or not.
gst/vaapi/gstvaapipostproc.c