GNOME Bugzilla – Bug 748033
gstglupload: Fix GstGLUpload leak
Last modified: 2015-04-17 12:15:46 UTC
Created attachment 301798 [details] [review] gstglupload: Fix GstGLUpload leak Attached patch fix leak of GstGLUpload which owns a reference to the GstGLContext. The GstGLUpload object is unref on state changed PAUSED=>READY as the GstGLContext is unref on this same state change in gstglimagesink.
Created attachment 301803 [details] [review] gstglupload: Fix GstGLUpload leak Added reference to the bug in commit comment.
Review of attachment 301803 [details] [review]: ::: ext/gl/gstgluploadelement.c @@ +99,3 @@ bt_class->passthrough_on_same_caps = TRUE; + element_class->change_state = gst_gl_upload_change_state; IMHO cleaner to do it in basetransform_class->stop :) Also less code for you to write
Created attachment 301821 [details] [review] gstglupload: Unref GstGLUpload object and caps in ::stop()
commit f283d72636c842f1561c9bc0316b974e32fb07d0 Author: Matthieu Bouron <matthieu.bouron@collabora.com> Date: Fri Apr 17 10:38:16 2015 +0200 gluploadelement: Unref GstGLUpload object and caps in ::stop() Fix leak of the GstGLUpload object. https://bugzilla.gnome.org/show_bug.cgi?id=748033