MADI doesn't respect hardware limits, and assumes that any surface type is acceptable as the reference surface
Submitted by Simon Farnsworth
Link to original bug (#730925)
Description
As per https://bugs.freedesktop.org/show_bug.cgi?id=79377#c2 I'm filing this bug.
When I have a YUY2 source feeding gstreamer-vaapi with the patch at https://bugzilla.gnome.org/show_bug.cgi?id=726361 applied, I get horrible colour effects from the deinterlacing. My pipeline is:
gst-launch-1.0 v4l2src ! vaapipostproc deinterlace-mode=interlaced deinterlace-method=motion-adaptive ! vaapisink
gstreamer-vaapi provides YUY2 surfaces to VPP for deinterlacing; SNB and IVB can only deinterlace NV12, so I get horrible artifacting.