frontends/va/postproc: Un-break field flag
authorThong Thai <thong.thai@amd.com>
Thu, 15 Oct 2020 19:32:47 +0000 (15:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 21 Oct 2020 10:13:52 +0000 (10:13 +0000)
commit354e375c9cc937ecfafd7b98a768621c53458528
treeffc48eeb37863a1d477cc6e7e5bc28dbad454e36
parentfd038132de01c7bc37ccbc96fdc556050644a09e
frontends/va/postproc: Un-break field flag

Fixes an issue where deinterlaced videos would play at half the
framerate, since only one field was repeated, instead of using both
fields. Reverts a change I made previously which broke this.

Fixes: 78786a219ea ("frontends/va: Fix deinterlace bottom field first flag")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3621
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/7194>
src/gallium/frontends/va/postproc.c