glviewconvert: Fix texture target fixation
authorJan Schmidt <jan@centricular.com>
Thu, 25 Aug 2016 05:26:49 +0000 (15:26 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:22 +0000 (19:32 +0000)
commit179f7c00fe6de64d376266106e9806b065ef39cd
tree1c6774cda98599344ff5d558a937f41e3e447e28
parentab0a0e6fcbd76b02edb0f56c5e44e95228a7a9e7
glviewconvert: Fix texture target fixation

Don't set the chosen texture-target into the wrong structure.
The input caps may not be writable, and in any case - the
intention was to configure the othercaps. Also, remove an
extra unref - the othercaps ref is consumed by
gst_caps_make_writable already.
gst-libs/gst/gl/gstglviewconvert.c