compositor: Fix NV12 blend operation
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 19 May 2021 20:35:01 +0000 (16:35 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 19 May 2021 20:39:22 +0000 (16:39 -0400)
commitf39985f88af011e1d4d3c0bf1578197b3e05a6f9
treea0d12fc984daddd368befd1d21ca3daf78c2ec93
parent3897b24f6978f527f4294f65bda10d255749ce57
compositor: Fix NV12 blend operation

The full src_height/width was being used instead of the remaining
width/height for the current band. As a side effect, that value would
get erroneously reset and would cause overrun.

Fixes #887

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1160>
gst/compositor/blend.c