vaav1dec: Remove double caps unref.
authorVictor Manuel Jaquez Leal <vjaquez@igalia.com>
Fri, 16 Dec 2022 17:15:04 +0000 (18:15 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 16 Dec 2022 19:18:25 +0000 (19:18 +0000)
commit171a626c6c2b02322785fee6fa8e781bf28a28f2
tree33b4849f3a6df451f96b527acf1c205990a58b98
parent068a5c1053ae05b3c7747243948447e764d25aa6
vaav1dec: Remove double caps unref.

There was a duplicated caps unref raising a warning.

Also it reorgs the sorrounding code for simplicity.

Fixes: #1196
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3587>
subprojects/gst-plugins-bad/sys/va/gstvaav1dec.c