glmemory: Fix n_wrapped_pointers usage
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 7 Jun 2017 16:00:08 +0000 (18:00 +0200)
committerMichael Olbrich <m.olbrich@pengutronix.de>
Tue, 30 Oct 2018 09:47:01 +0000 (10:47 +0100)
commit0ac646f7f4aa43399084dd63143cd47030885f5f
tree5a7509127e1d32d46fb6dd2c58fa5a37830d9894
parentf780c718e7750e6c4db65806c47184c218830548
glmemory: Fix n_wrapped_pointers usage

gst_gl_memory_setup_buffer() was not properly using the number
of pointers to wrapped. This also fixes the validation, as we
only support 1 wrapper per view, or num_planes * views wrapper.

https://bugzilla.gnome.org/show_bug.cgi?id=783521
gst-libs/gst/gl/gstglmemory.c