diff --git a/ChangeLog b/ChangeLog index fcc159b4e3..ac7f273240 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-10-20 Wim Taymans + + * 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 * gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek): diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index af081a0e15..4bd772a358 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -731,7 +731,7 @@ gst_wavparse_handle_seek (GstWavParse * wav, gboolean update) 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 ()); @@ -855,7 +855,8 @@ gst_wavparse_stream_headers (GstWavParse * wav) /* 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;