gstreamer/ext/gtk
Nicolas Dufresne 1a7c9b82f4 gtk: Fix race between queue_draw and destroy
In GTK dispose can be called before the last ref is reached. This
happens when you close the container window. The dispose will be
explicitly called, and destroyed notify will be fired. This patch
fixes this race by properly tracking the widget state.

In the sink, we now set the widget pointer to NULL, so the widget
will properly get created again if you set your pipeline to NULL
state after the widget was destroy, and set it back to PLAYING.

https://bugzilla.gnome.org/show_bug.cgi?id=751104
2015-07-16 17:05:36 -04:00
..
gstgtkglsink.c gtk: Fix race between queue_draw and destroy 2015-07-16 17:05:36 -04:00
gstgtkglsink.h gtk: Fix race between queue_draw and destroy 2015-07-16 17:05:36 -04:00
gstgtksink.c gtk: Fix race between queue_draw and destroy 2015-07-16 17:05:36 -04:00
gstgtksink.h gtksinks: Remove undefined private structure 2015-07-15 11:44:30 -04:00
gstplugin.c Implement gtk sinks 2015-06-11 22:01:03 +10:00
gtkgstglwidget.c gtk: Fix race between queue_draw and destroy 2015-07-16 17:05:36 -04:00
gtkgstglwidget.h Implement gtk sinks 2015-06-11 22:01:03 +10:00
gtkgstwidget.c gtk: Fix race between queue_draw and destroy 2015-07-16 17:05:36 -04:00
gtkgstwidget.h Implement gtk sinks 2015-06-11 22:01:03 +10:00
Makefile.am Implement gtk sinks 2015-06-11 22:01:03 +10:00