gloverlay: Fix various issues in allocation handling
authorEdward Hervey <edward@centricular.com>
Thu, 28 Nov 2019 16:31:57 +0000 (17:31 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 5 Mar 2020 06:01:50 +0000 (06:01 +0000)
commit0200175d977ec2710109b755eb3313cf278fe73c
treecf0222dd5d3b1de36c622c7c65934b000f346097
parent51253830f3e9dad108baa07c87ed62509ee3123f
gloverlay: Fix various issues in allocation handling

* A copy-paste error was getting the information from the wrong
  query
* The 'allocation_meta' GstStructure was being leaked
* No check was done on whether the query existed (to try to set the
  resulting allocation meta on)

CID: 1439872
CID: 1439873
CID: 1439874
CID: 1439875
CID: 1439876
CID: 1439877
ext/gl/gstgloverlaycompositorelement.c