winegstreamer: Correct a state transition.

This commit is contained in:
Maarten Lankhorst 2010-12-10 16:06:59 +01:00 committed by Alexandre Julliard
parent ea397d2599
commit 9ef5a863e3
1 changed files with 1 additions and 1 deletions

View File

@ -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;