Alessandro Decina 91fea30ff4 gstglupload: make the GLMemoryUpload method output the correct texture-target
Now when used with video/x-raw as input, the GLMemoryUpload method checks for
->tex_target in input GLMemory(es) and sets the output texture-target
accordingly.

Fixes video corruption with a pipeline like avfvideosrc ! video/x-raw !
glimagesink where on macos avfvideosrc pushes RECTANGLE textures but glupload
was configuring texture-target=2D as output.
2016-08-26 17:44:33 +10:00
..
2014-11-28 09:14:25 +11:00
2015-03-12 16:45:50 +00:00
2015-03-12 16:45:51 +00:00
2015-03-12 16:45:51 +00:00
2016-08-26 03:25:49 +10:00