glvideomixer: swap control binding proxy
authorMatthew Waters <matthew@centricular.com>
Mon, 3 Aug 2015 09:48:16 +0000 (19:48 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:07 +0000 (19:32 +0000)
commitdec64d9036ef3c7313c9f4907d100e1ab53babdc
treef799342e552cba835f76545fa8c4b3f06cb575c6
parentb9a7cefae668fe62bb25e12a6babcf488ba49e71
glvideomixer: swap control binding proxy

The ref_object and object parameters were the wrong way around.

For the typical use case where an application is setting a
GstControlBinding on the returned ghost pad:
1. our control binding would be removed when the new one was set
2. sync_values calls were not being forwarded from the internal
   pad to the ghost pad.

If an application attempts to perform other control binding
operations (get_* family of functions) on the internal pad, they
will also be forwarded to the ghost pad where a possible
GstControlBinding will provide the necessary values.
ext/gl/gstglvideomixer.c