gst/avi/gstavidemux.c: Correctly fill in the stream time.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
Correctly fill in the stream time.
This commit is contained in:
Wim Taymans 2005-10-20 11:39:40 +00:00
parent 587a7add24
commit 9f4609665a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-10-20 Wim Taymans <wim@fluendo.com>
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
Correctly fill in the stream time.
2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
* check/elements/level.c: (GST_START_TEST):

View file

@ -2000,7 +2000,7 @@ gst_avi_demux_handle_seek (GstAviDemux * avi, guint64 time)
GST_FORMAT_TIME, time,
(gint64) (((gfloat) avi->stream[0].strh->scale) *
avi->stream[0].strh->length /
avi->stream[0].strh->rate) * GST_SECOND, 0);
avi->stream[0].strh->rate) * GST_SECOND, time);
gst_avi_demux_send_event (avi, gst_event_new_flush_stop ());
gst_pad_start_task (avi->sinkpad, (GstTaskFunction) gst_avi_demux_loop,