Maarten Lankhorst : winegstreamer: Correct a state transition.

Alexandre Julliard julliard at winehq.org
Tue Dec 14 10:55:42 CST 2010


Module: wine
Branch: master
Commit: 9ef5a863e395df8b37a6f562c03fd35ce10dd155
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9ef5a863e395df8b37a6f562c03fd35ce10dd155

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Fri Dec 10 16:06:59 2010 +0100

winegstreamer: Correct a state transition.

---

 dlls/winegstreamer/gstdemux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 41190ec..46cd9ec 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1190,7 +1190,7 @@ static HRESULT WINAPI GST_Run(IBaseFilter *iface, REFERENCE_TIME tStart) {
         return S_OK;
     if (now == GST_STATE_PAUSED) {
         GstStateChangeReturn ret;
-        ret = gst_element_set_state(This->gstfilter, GST_STATE_PAUSED);
+        ret = gst_element_set_state(This->gstfilter, GST_STATE_PLAYING);
         if (ret == GST_STATE_CHANGE_ASYNC)
             return S_FALSE;
         return S_OK;




More information about the wine-cvs mailing list