Also flush parser when a newsegment is received. Fixes loop in reverse mode.

This commit is contained in:
Josep Torra 2009-02-02 23:29:24 +01:00
parent c8eb591688
commit 9e2dc060a4

View file

@ -807,6 +807,8 @@ mpv_parse_sink_event (GstPad * pad, GstEvent * event)
format, start, stop, pos); format, start, stop, pos);
} }
gst_mpegvideoparse_flush (mpegvideoparse);
/* now configure the values */ /* now configure the values */
gst_segment_set_newsegment_full (&mpegvideoparse->segment, update, gst_segment_set_newsegment_full (&mpegvideoparse->segment, update,
rate, applied_rate, format, start, stop, pos); rate, applied_rate, format, start, stop, pos);