decoder: h264: fix caps to report interlace-mode accordingly.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 16:53:51 +0000 (18:53 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 19 Jun 2014 13:13:04 +0000 (15:13 +0200)
commit95c781c34fad757eb820429604fbd4e3d921960a
tree93947feafd7e8439a36eaaac0e3eceb683781fdc
parent9d417815abec6b96b952d162b8eb2a1a2c2b4f4f
decoder: h264: fix caps to report interlace-mode accordingly.

The `vaapipostproc' element could never determine if the H.264 stream
was interlaced, and thus always assumed it to be progressive. Fix the
H.264 decoder to report interlace-mode accordingly, thus allowing the
vaapipostproc element to automatically enable deinterlacing.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c