[farsight2/master] Name the send codec bin uniquely per conference

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:21:08 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index abe243e..da23753 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2087,7 +2087,7 @@ fs_rtp_session_add_send_codec_bin (FsRtpSession *session,
   gchar *name;
   GstCaps *sendcaps;
 
-  name = g_strdup_printf ("send%d", codec->id);
+  name = g_strdup_printf ("send_%d_%d", session->id, codec->id);
   codecbin = _create_codec_bin (blueprint, codec, name, TRUE, error);
   g_free (name);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list