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)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 20 Apr 2015 08:05:11 +0000 (09:05 +0100)
commitac5e25937b23b55d0e13372fa408167e20cc5dd4
tree82cfcc68a055a86856187ed1260031a901bab82f
parentedf9035d02c947ed9c836ddafa01fa34681918b4
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