vaapipostproc: get "interlaced" attribute from surface proxy.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 28 Mar 2012 13:16:17 +0000 (15:16 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 28 Mar 2012 15:59:19 +0000 (17:59 +0200)
commitb98d334dce30746df20787dfc8d0d7c4324ccaea
tree8a53b17db2e014d1193e39f10a9c23a889f68e50
parent894d65b81a457cb3cbdfc470848a97bf90a8f09c
vaapipostproc: get "interlaced" attribute from surface proxy.

Add new "interlaced" attribute to GstVaapiSurfaceProxy. Use this in
vaapipostproc so that to handles cases where bitstream is interlaced
but almost only frame pictures are generated. In this case, we should
not be alternating between top/bottom fields.
gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c
gst-libs/gst/vaapi/gstvaapisurfaceproxy.c
gst-libs/gst/vaapi/gstvaapisurfaceproxy.h
gst/vaapi/gstvaapipostproc.c