mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
jitterbuffer: forward flush before stopping dataflow
First forward the flush event and then stop our loop function.
This commit is contained in:
parent
1095114d89
commit
f11c2c9b3b
1 changed files with 1 additions and 1 deletions
|
@ -1211,8 +1211,8 @@ gst_rtp_jitter_buffer_sink_event (GstPad * pad, GstObject * parent,
|
|||
break;
|
||||
}
|
||||
case GST_EVENT_FLUSH_START:
|
||||
gst_rtp_jitter_buffer_flush_start (jitterbuffer);
|
||||
ret = gst_pad_push_event (priv->srcpad, event);
|
||||
gst_rtp_jitter_buffer_flush_start (jitterbuffer);
|
||||
break;
|
||||
case GST_EVENT_FLUSH_STOP:
|
||||
ret = gst_pad_push_event (priv->srcpad, event);
|
||||
|
|
Loading…
Reference in a new issue