Commit a98caaeb authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/avi/gstavidemux.c: Fix stream position reporting after a seek. Fixes #416445.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_push_event), (gst_avi_demux_do_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_chain):
Fix stream position reporting after a seek. Fixes #416445.
parent 44e09ddd
2007-03-09 Wim Taymans <wim@fluendo.com>
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
(gst_avi_demux_push_event), (gst_avi_demux_do_seek),
(gst_avi_demux_process_next_entry), (gst_avi_demux_stream_data),
(gst_avi_demux_chain):
Fix stream position reporting after a seek. Fixes #416445.
2007-03-08 Wim Taymans <wim@fluendo.com> 2007-03-08 Wim Taymans <wim@fluendo.com>
Patch by: René Stadler <mail at renestadler dot de> Patch by: René Stadler <mail at renestadler dot de>
......
...@@ -3040,7 +3040,9 @@ gst_avi_demux_do_seek (GstAviDemux * avi, GstSegment * segment) ...@@ -3040,7 +3040,9 @@ gst_avi_demux_do_seek (GstAviDemux * avi, GstSegment * segment)
* to the time of the keyframe. */ * to the time of the keyframe. */
seek_time = avi->index_entries[avi->current_entry].ts; seek_time = avi->index_entries[avi->current_entry].ts;
} }
/* the seek time is also the last_stop and stream time */
segment->last_stop = seek_time; segment->last_stop = seek_time;
segment->time = seek_time;
return TRUE; return TRUE;
} }
......
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