Maarten Lankhorst : winegstreamer: Destroy thread in GST_Connect.
Alexandre Julliard
julliard at winehq.org
Wed Nov 17 10:38:06 CST 2010
Module: wine
Branch: master
Commit: a63c81d480749d183ea5c742f9cd5adb32fd700a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a63c81d480749d183ea5c742f9cd5adb32fd700a
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Wed Nov 17 13:27:22 2010 +0100
winegstreamer: Destroy thread in GST_Connect.
---
dlls/winegstreamer/gstdemux.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index a53355d..6c9aca0 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -977,6 +977,8 @@ static HRESULT GST_Connect(GSTInPin *pPin, IPin *pConnectPin, ALLOCATOR_PROPERTI
*props = This->props;
gst_element_set_state(This->gstfilter, GST_STATE_READY);
gst_element_get_state(This->gstfilter, NULL, NULL, -1);
+ if (This->push_thread)
+ gst_pad_activate_push(This->my_src, 0);
This->initial = 0;
This->nextofs = This->nextpullofs = 0;
More information about the wine-cvs
mailing list