From 1b0ae2608f93a9016abd77bdc79db93f0ad58ad8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 6 Apr 2007 12:07:30 +0000 Subject: [PATCH] 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(-) diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index d63321f..eed0704 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 */ -- 2.7.4