summaryrefslogtreecommitdiffstats
path: root/gst/mpegvideoparse
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpegvideoparse')
-rw-r--r--gst/mpegvideoparse/mpegvideoparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/mpegvideoparse/mpegvideoparse.c b/gst/mpegvideoparse/mpegvideoparse.c
index 5d70762d..3c930179 100644
--- a/gst/mpegvideoparse/mpegvideoparse.c
+++ b/gst/mpegvideoparse/mpegvideoparse.c
@@ -807,6 +807,8 @@ mpv_parse_sink_event (GstPad * pad, GstEvent * event)
format, start, stop, pos);
}
+ gst_mpegvideoparse_flush (mpegvideoparse);
+
/* now configure the values */
gst_segment_set_newsegment_full (&mpegvideoparse->segment, update,
rate, applied_rate, format, start, stop, pos);