video: Fix NV12_16L32 size calculation
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 27 May 2022 18:18:30 +0000 (14:18 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 31 May 2022 16:23:01 +0000 (16:23 +0000)
commitf1756493d26e5268d60eeeeaa2a9be2e4f43ed8c
tree2dcb16caa0842b1e2246f930a4db77538767393d
parent4cb935bceaa3371cbee2ee3afb32a278f22f2fa3
video: Fix NV12_16L32 size calculation

The subsampling of the second plane was not taken into account, resulting in a
16bit per pixel buffers instead of 12.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2512>
subprojects/gst-plugins-base/gst-libs/gst/video/video-info.c