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)
committerMatthew Waters <ystreet00@gmail.com>
Tue, 19 Aug 2014 07:01:36 +0000 (17:01 +1000)
commit30ddb384abd101051f1c9633e0debe1797bef716
treeafe7fd885ddbcd32279307864ae17f927da90817
parent98152017b7f866bc4d87c434b6ae1b0f978245ff
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