Commit 9f460966 authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent 587a7add
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):
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment