gltextureupload: use an array for texture type
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 28 Mar 2016 11:13:56 +0000 (13:13 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 28 Mar 2016 13:32:47 +0000 (15:32 +0200)
commitddddb0415b181e3ca8cc70e843b821fb01d504c9
treef4384813c881f2b7570b6e03321328b18b0f6193
parent959d14ce8a9e0de184dfc7e73090e5287fa1f11e
gltextureupload: use an array for texture type

Instead of using a single value for the texture type, use an array with 4
elements, just as the GstVideoGLTextureUploadMeta, avoiding a buffer
overflow.

https://bugzilla.gnome.org/show_bug.cgi?id=764231
gst/vaapi/gstvaapivideometa_texture.c