rtspsrc: reset session manager base time when flushing

... as rtpbin uses running time to handle rtpjitterbuffer's buffer mode pauses.
This commit is contained in:
Mark Nauwelaerts 2010-12-02 16:10:14 +01:00
parent 148af2235e
commit 0f2373cbd1

View file

@ -1663,6 +1663,9 @@ gst_rtspsrc_flush (GstRTSPSrc * src, gboolean flush)
/* for tcp interleaved case */
if (base_time != -1)
gst_element_set_base_time (GST_ELEMENT_CAST (src), base_time);
/* to manage jitterbuffer buffer mode */
if (src->session)
gst_element_set_base_time (GST_ELEMENT_CAST (src->session), base_time);
}
static GstRTSPResult