vaapipostproc: fix deinterlacing from non VA memory buffers.
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>
Thu, 13 Mar 2014 18:38:33 +0000 (18:38 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 25 Aug 2014 08:07:54 +0000 (10:07 +0200)
commit406aa37373e2b9917714eccd2834a45d18b61fd1
treef1fec630f01a51490c46a86eb049175e47b410b7
parentb61d993e7d1372da37a7a93dfd9ca93d2afe80b4
vaapipostproc: fix deinterlacing from non VA memory buffers.

When we copy a buffer because we're moving it into VA-API memory, we
need to copy flags. Otherwise, interlaced YUV buffers from a capture
source (e.g. V4L2) don't get flagged as interlaced.

https://bugzilla.gnome.org/show_bug.cgi?id=726270

Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
[reversed order of gst_buffer_copy_into() flags to match <1.0 code]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapipluginbase.c