rtspsrc: reset_time when flush stopping

This commit is contained in:
Mathieu Duponchelle 2019-07-27 04:03:44 +02:00 committed by Mathieu Duponchelle
parent 5f1a732bc7
commit 75f53631e5

View file

@ -2651,7 +2651,7 @@ gst_rtspsrc_flush (GstRTSPSrc * src, gboolean flush, gboolean playing,
cmd = CMD_WAIT;
state = GST_STATE_PAUSED;
} else {
event = gst_event_new_flush_stop (FALSE);
event = gst_event_new_flush_stop (TRUE);
gst_event_set_seqnum (event, seqnum);
GST_DEBUG_OBJECT (src, "stop flush; playing %d", playing);
cmd = CMD_LOOP;