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 committed by Tim-Philipp Müller
parent 63dbc75734
commit 1b0ae2608f

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