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:16:45 +0000 (17:16 +1000)
commit50f9e80e42aec5b475871639fb4aa2f87fdfc1e2
tree3020f9b10656252fb26ca2fd9aa59c2873b37ffc
parent4824ce3b5e751e18e6de03514aff91d23c8c0e3c
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