frontends/vdpau: Alloc interlaced surface for interlaced pics
authorDavid Rosca <nowrep@gmail.com>
Fri, 28 Jul 2023 16:14:10 +0000 (18:14 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 1 Aug 2023 21:58:27 +0000 (21:58 +0000)
commit0ee4506c3aaf4e024748c91fbda9ea77c215bc4a
treeb127484abc7a5d8dfef018ba356d1e0f20ae3ff5
parent578e10e1571b40c86f3348f2f36e080f34d1a4ed
frontends/vdpau: Alloc interlaced surface for interlaced pics

When decoding interlaced pics, the output surface should
also be allocated as interlaced to make the deinterlace
postproc filter work correctly.

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24361>
src/gallium/frontends/vdpau/decode.c