st/va: clear pointers for mpeg2 quantiser matrices
authorIndrajit Das <indrajit-kumar.das@amd.com>
Wed, 10 Jan 2018 09:43:37 +0000 (15:13 +0530)
committerChristian König <christian.koenig@amd.com>
Tue, 16 Jan 2018 09:51:15 +0000 (10:51 +0100)
commit338638a8afc9f330bacc1cdd7e6392a3ea9d828a
tree515c3a1a33ea925902278a7021f03d988d2d5e8b
parentf5277e84925b69b0bf01340122684becd45c1f7d
st/va: clear pointers for mpeg2 quantiser matrices

This is to fix VA-API issues with GStreamer and MPEG2.
Since gstreamer does not pass quantiser matrices with each frame, invalid
pointers were being passed to the driver. This patch addresses the same.

Signed-off-by: Indrajit Das <indrajit-kumar.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/picture.c