glmixer: fix caps leak in gst_gl_mixer_pad_sink_getcaps()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 15 Apr 2015 13:22:37 +0000 (15:22 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:59 +0000 (19:31 +0000)
commite6c5410a2a6bc99a82dc63367677649f40bb6c79
treef9b6f54df1feba6b87190b4831645ba8814ea550
parentce76c66f921eb9e748c2b569d1e2f3a5f74102e1
glmixer: fix caps leak in gst_gl_mixer_pad_sink_getcaps()

Caps refcounting was all wrong in this function. Rewrote it and add some
comments to make it clearer.

Fix caps leaks with the
validate.file.glvideomixer.simple.play_15s.synchronized scenario.

https://bugzilla.gnome.org/show_bug.cgi?id=747915

Signed-off-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
ext/gl/gstglmixer.c