jitterbuffer: forward flush before stopping dataflow

First forward the flush event and then stop our loop function.
This commit is contained in:
Wim Taymans 2013-08-14 16:19:32 +02:00
parent 1095114d89
commit f11c2c9b3b

View file

@ -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);