mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
Also flush parser when a newsegment is received. Fixes loop in reverse mode.
This commit is contained in:
parent
c8eb591688
commit
9e2dc060a4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue