rtpjitterbuffer: Clear last_pt on flush-stop.

Otherwise, we don't recheck the buffer caps for clock-rate
properly on the next chain.
This commit is contained in:
Jan Schmidt 2014-04-22 17:07:38 +10:00
parent 25ed0a30a4
commit f2d0ddf113

View file

@ -1175,6 +1175,7 @@ gst_rtp_jitter_buffer_flush_stop (GstRtpJitterBuffer * jitterbuffer)
priv->packet_spacing = 0;
priv->next_in_seqnum = -1;
priv->clock_rate = -1;
priv->last_pt = -1;
priv->eos = FALSE;
priv->estimated_eos = -1;
priv->last_elapsed = 0;