frontends/va: Fix deinterlace bottom field first flag
authorThong Thai <thong.thai@amd.com>
Thu, 21 May 2020 23:40:13 +0000 (19:40 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 22 May 2020 18:23:53 +0000 (18:23 +0000)
commit78786a219ea2322af09576472dcc2d6d01cb9060
tree0084d7975cad7ff9ce98a9f3ff72ccacd99c69ee
parent569ca93751d2bebbfbd3cf673c8da447b1f2f295
frontends/va: Fix deinterlace bottom field first flag

Fixes an issue with mpv, where deinterlacing causes the picture to be
offset by one line every other frame in the video.

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5157>
src/gallium/frontends/va/postproc.c