summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavidemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/avi/gstavidemux.c')
-rw-r--r--gst/avi/gstavidemux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index 0177e5a8..dfb726f1 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -3040,7 +3040,9 @@ gst_avi_demux_do_seek (GstAviDemux * avi, GstSegment * segment)
* to the time of the keyframe. */
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->time = seek_time;
return TRUE;
}