From a52a704426a350cbe6746333c1e0eee9ffdcdbe4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 6 Apr 2007 12:07:30 +0000 Subject: gst/rtpmanager/gstrtpbin.c: Fix pad template name parsing. Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (create_rtcp): Fix pad template name parsing. --- gst/rtpmanager/gstrtpbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/rtpmanager/gstrtpbin.c') diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index d63321f6..eed07045 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -787,7 +787,7 @@ create_rtcp (GstRTPBin * rtpbin, GstPadTemplate * templ, const gchar * name) GstRTPBinSession *session; /* first get the session number */ - if (name == NULL || sscanf (name, "send_rtp_sink_%d", &sessid) != 1) + if (name == NULL || sscanf (name, "rtcp_src_%d", &sessid) != 1) goto no_name; /* get or create session */ -- cgit v1.2.1