winegstreamer: Fix NewSegment in transform filter.

This commit is contained in:
Maarten Lankhorst 2010-11-09 23:42:45 +01:00 committed by Alexandre Julliard
parent d62b4dcb66
commit 1b192ae799
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ static HRESULT WINAPI Gstreamer_transform_NewSegment(TransformFilter *iface, REF
TRACE("%p\n", This); TRACE("%p\n", This);
gst_pad_push_event(This->my_src, gst_event_new_new_segment_full(1, gst_pad_push_event(This->my_src, gst_event_new_new_segment_full(1,
1.0, dRate, GST_FORMAT_TIME, tStart*100, tStop <= tStart ? -1 : tStop * 100, tStart*100)); 1.0, dRate, GST_FORMAT_TIME, 0, tStop <= tStart ? -1 : tStop * 100, tStart*100));
return S_OK; return S_OK;
} }