glmemorypbo: fix wrapping data on GL 2.1
authorMatthew Waters <matthew@centricular.com>
Wed, 30 Dec 2015 01:12:17 +0000 (12:12 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 30 Dec 2015 01:16:29 +0000 (12:16 +1100)
commit4717b48a03ec1532dea94ee748eb9d9206e6d968
treef92f1e9d523a37125f3b7a1f27dcf59132a3bd0a
parent49291bc927bfb5259857413dae4d205262f6e210
glmemorypbo: fix wrapping data on GL 2.1

GL 2.1 only supports pbo upload.

The wrapped data pointer was only being set on the pbo memory and on the
glmemory so when a download was requested (in GL 2.1), glmemory was
allocating a new data pointer and thus not returning the wrapped data.
gst-libs/gst/gl/gstglmemorypbo.c