+2005-10-20 Wim Taymans <wim@fluendo.com>
+
+ * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek),
+ (gst_wavparse_stream_headers), (gst_wavparse_stream_data),
+ (gst_wavparse_pad_convert), (gst_wavparse_srcpad_event):
+ Set stream time correctly in newsegment.
+
2005-10-20 Wim Taymans <wim@fluendo.com>
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
GST_TIME_ARGS (stop_time));
wav->seek_event = gst_event_new_newsegment (!update, wav->segment_rate,
- GST_FORMAT_TIME, start_time, stop_time, 0);
+ GST_FORMAT_TIME, start_time, stop_time, start_time);
if (flush)
gst_pad_push_event (wav->srcpad, gst_event_new_flush_stop ());
/* Initial discont */
wav->seek_event = gst_event_new_newsegment (FALSE, 1.0,
- GST_FORMAT_TIME, wav->segment_start, wav->segment_stop, 0);
+ GST_FORMAT_TIME,
+ wav->segment_start, wav->segment_stop, wav->segment_start);
return GST_FLOW_OK;