gstrtpbin: Don't forward revc events to sender
authorOlivier Crête <olivier.crete@collabora.co.uk>
Thu, 26 Feb 2009 12:10:29 +0000 (13:10 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:40 +0000 (02:30 +0100)
Don't send events from the receiver to the sender side.
Fixes #572900.

gst/rtpmanager/gstrtpsession.c

index 615dc15a15f0e796b8811ba47c90865249ce3988..06d64a454a7aca187a25397049fcd55a1539f427 100644 (file)
@@ -1483,10 +1483,6 @@ gst_rtp_session_event_recv_rtcp_sink (GstPad * pad, GstEvent * event)
 
   switch (GST_EVENT_TYPE (event)) {
     default:
-      if (rtpsession->send_rtcp_src) {
-        gst_event_ref (event);
-        ret = gst_pad_push_event (rtpsession->send_rtcp_src, event);
-      }
       ret = gst_pad_push_event (rtpsession->sync_src, event);
       break;
   }