glviewconvert: fix output when a transformation matrix is used
authorMatthew Waters <matthew@centricular.com>
Fri, 10 Aug 2018 12:44:12 +0000 (22:44 +1000)
committerMatthew Waters <matthew@centricular.com>
Fri, 10 Aug 2018 12:46:34 +0000 (22:46 +1000)
commit91bc6f63f67f19426aca638452f507c8b9928499
tree6b3497d7e139477ca922385508905b5361377483
parentefa9bdccf972efeb377d38e2083e8d411c73b703
glviewconvert: fix output when a transformation matrix is used

If we have a transformation matrix, we have no idea where in the output
the video is going to endup.  It might also be different and not cover
the entire output.

We need to clear the output to remove any previous data in the backing
texture.

Found from
https://stackoverflow.com/questions/51707229/python-gstreamer-for-dynamic-control-of-element-properties
gst-libs/gst/gl/gstglviewconvert.c