GNOME Bugzilla – Bug 748407
gltransformation: don't initialize multiple shaders on renegotiation
Last modified: 2015-04-26 19:23:46 UTC
This patch fixes a GstGLShader leak in gltransformation for cases where the pipeline gets renegotiated and gst_gl_base_filter_gl_start is called multiple times.
Created attachment 302284 [details] [review] don't initialize multiple shaders on renegotiation
commit 51daa8b9e2b351055ce59ed89b0417ff9f7dccb9 Author: Lubosz Sarnecki <lubosz.sarnecki@collabora.co.uk> Date: Tue Apr 21 09:43:58 2015 +0200 gltransformation: don't initialize multiple shaders on renegotiation https://bugzilla.gnome.org/show_bug.cgi?id=748407 * delete shader if one exists * set it to NULL after unrefing