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:
parent
148af2235e
commit
0f2373cbd1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user