diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-08-04 00:13:07 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-08-04 00:24:36 +0200 |
commit | 7584f91f31fb4272e647b8d8347295e774979bf0 (patch) | |
tree | 920330d4c4ac918e7509d06c62a1f4153edafa48 | |
parent | 4a2ae4c0012cff4ce3766c380954f9d99087c486 (diff) |
jitterbuffer: send event in right direction
-rw-r--r-- | gst/rtpmanager/gstrtpjitterbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index d28b33621..51ea57ce8 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -2158,7 +2158,7 @@ do_expected_timeout (GstRtpJitterBuffer * jitterbuffer, TimerData * timer, GST_DEBUG_OBJECT (jitterbuffer, "expected %d didn't arrive", timer->seqnum); - event = gst_event_new_custom (GST_EVENT_CUSTOM_DOWNSTREAM, + event = gst_event_new_custom (GST_EVENT_CUSTOM_UPSTREAM, gst_structure_new ("GstRTPRetransmissionRequest", "seqnum", G_TYPE_UINT, (guint) timer->seqnum, "running-time", G_TYPE_UINT64, timer->rtx_base, @@ -2169,7 +2169,7 @@ do_expected_timeout (GstRtpJitterBuffer * jitterbuffer, TimerData * timer, "packet-spacing", G_TYPE_UINT64, priv->packet_spacing, NULL)); JBUF_UNLOCK (priv); - gst_pad_push_event (priv->srcpad, event); + gst_pad_push_event (priv->sinkpad, event); JBUF_LOCK (priv); timer->rtx_retry += (priv->rtx_retry_timeout * GST_MSECOND); |