Commit bd4083bd authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winegstreamer: Kill thread on disconnect.

parent c911893e
......@@ -1564,6 +1564,8 @@ static HRESULT GST_RemoveOutputPins(GSTImpl *This) {
gst_element_set_bus(This->gstfilter, NULL);
gst_element_set_state(This->gstfilter, GST_STATE_NULL);
gst_pad_unlink(This->my_src, This->their_sink);
if (This->push_thread)
gst_pad_activate_push(This->my_src, 0);
gst_object_unref(This->my_src);
This->my_src = This->their_sink = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment