From 9e2dc060a44971af862ce9a8cc13f4e3f8ece743 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Mon, 2 Feb 2009 23:29:24 +0100 Subject: Also flush parser when a newsegment is received. Fixes loop in reverse mode. --- gst/mpegvideoparse/mpegvideoparse.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/mpegvideoparse') 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); -- cgit v1.2.1