Module: wine Branch: master Commit: feb716b423095d11e3af9a87643887c436bde7cf URL: http://source.winehq.org/git/wine.git/?a=commit;h=feb716b423095d11e3af9a8764... Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Mon Dec 6 14:16:43 2010 +0100 winegstreamer: Always update time when Run is called. --- dlls/winegstreamer/gstdemux.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c index 403f945..7b1c989 100644 --- a/dlls/winegstreamer/gstdemux.c +++ b/dlls/winegstreamer/gstdemux.c @@ -1179,6 +1179,10 @@ static HRESULT WINAPI GST_Run(IBaseFilter *iface, REFERENCE_TIME tStart) { if (!This->gstfilter) return VFW_E_NOT_CONNECTED; + EnterCriticalSection(&This->filter.csFilter); + This->filter.rtStreamStart = tStart; + LeaveCriticalSection(&This->filter.csFilter); + gst_element_get_state(This->gstfilter, &now, NULL, -1); if (now == GST_STATE_PLAYING) return S_OK;