vaapipostproc: make deinterlace-mode behave as expected.
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>
Fri, 14 Mar 2014 17:49:40 +0000 (17:49 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 18 Jun 2014 14:24:23 +0000 (16:24 +0200)
commit927fd2e1a80018138b2d4ed51f75e43370234f68
tree914605990d356ca353cedbe311dc1862fbda1bb8
parentead38a4d77d38bdc89c76e7856cb17bb73c698d2
vaapipostproc: make deinterlace-mode behave as expected.

deinterlace-mode didn't behave in the way you'd expect if you have
past experience of the deinterlace element. There were two bugs:

 1. "auto" mode wouldn't deinterlace "interleaved" buffers, only "mixed".
 2. "force" mode wouldn't deinterlace "mixed" buffers flagged as progressive.

Fix these up, and add assertions and error messages to detect cases that
aren't handled.

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

Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapipostproc.c