glmixer: unref the GstGLUpload in the pad if freed while running
authorMatthew Waters <ystreet00@gmail.com>
Tue, 19 Aug 2014 07:01:36 +0000 (17:01 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:45 +0000 (19:31 +0000)
commit94efcd2595eed73351cf45281c14b53536387836
tree0a30a70cb3e2debca0191cecd44b8665b9ea558d
parent922cb977589f0f06390683d63c97bf404227b0b3
glmixer: unref the GstGLUpload in the pad if freed while running

Dynamic pipelines that get and release the sink pads will finalize
the pad without going through gst_gl_mixer_stop() which is where the
upload object is usually freed.  Don't leak objects in such case.
ext/gl/gstglmixer.c