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.
This commit is contained in:
Wim Taymans 2007-04-06 12:07:30 +00:00
parent 8fd61b0804
commit a52a704426
2 changed files with 6 additions and 1 deletions

View file

@ -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:

View 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 */