libs: decoder: av1: Clean the film_grain_info field.
authorHe Junyan <junyan.he@intel.com>
Tue, 29 Jun 2021 07:09:13 +0000 (15:09 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 1 Jul 2021 11:14:15 +0000 (11:14 +0000)
commitd152ab1d3734e285f3b79ad61bd5facb2364a3af
tree3578fab9df29bb3b1ab9fa47708ffcc3257c2c9b
parent310ffc17a8406359af60762f42b5a66cc14f8c3f
libs: decoder: av1: Clean the film_grain_info field.

We need to clean all film_grain_info fields when the film grain
feature is not enabled. It may have random data because the picture
parameter buffer is not cleaned.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/434>
gst-libs/gst/vaapi/gstvaapidecoder_av1.c