[Bug 751104] make Gtk sinks usable from gst-launch

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 15 13:59:07 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751104

Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #307501|0                           |1
        is obsolete|                            |

--- Comment #15 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 307510
  --> https://bugzilla.gnome.org/attachment.cgi?id=307510&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list