diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c
index 85a960f..505ea15 100644
--- a/ext/dv/gstdvdemux.c
+++ b/ext/dv/gstdvdemux.c
@@ -1431,6 +1431,10 @@ gst_dvdemux_demux_frame (GstDVDemux * dvdemux, GstBuffer * buffer)
     dvdemux->need_segment = FALSE;
   }
 
+  dvdemux->time_segment.last_stop = gst_util_uint64_scale_int (
+      (dvdemux->frame_offset) * GST_SECOND,
+      dvdemux->framerate_denominator, dvdemux->framerate_numerator);
+
   next_ts = gst_util_uint64_scale_int (
       (dvdemux->frame_offset + 1) * GST_SECOND,
       dvdemux->framerate_denominator, dvdemux->framerate_numerator);
