gst/rtpmanager/gstrtpbin.c: Fix pad template name parsing.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 6 Apr 2007 12:07:30 +0000 (12:07 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 6 Apr 2007 12:07:30 +0000 (12:07 +0000)
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (create_rtcp):
Fix pad template name parsing.

ChangeLog
gst/rtpmanager/gstrtpbin.c

index 2992c20..1803c45 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-06  Wim Taymans  <wim@fluendo.com>
+
+       * gst/rtpmanager/gstrtpbin.c: (create_rtcp):
+       Fix pad template name parsing.
+
 2007-04-05  Wim Taymans  <wim@fluendo.com>
 
        * gst/rtpmanager/gstrtpjitterbuffer.c:
index d63321f..eed0704 100644 (file)
@@ -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 */