glmemory: add checking the read implementation format/type on gles2 platforms
authorMatthew Waters <matthew@centricular.com>
Thu, 31 Mar 2016 08:38:12 +0000 (19:38 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 31 Mar 2016 09:52:42 +0000 (20:52 +1100)
commit9ea15579ec5402c52e995aaed85347358d859a68
treea7f9ef48a5f4d6ddad16682a6e8c9bcc216a36ee
parentafd0ce71600d68aeb23868c5562b837c88ebab70
glmemory: add checking the read implementation format/type on gles2 platforms

By default, reading GL_RED or GL_RG us unsupported by glReadPixels unless
exposed through GL_COLOR_READ_IMPLEMENTATION_FORMAT/TYPE.  This allows
downloading multiple-planar video frames where possible.
gst-libs/gst/gl/gstglmemory.c