[farsight2/master] Document new callback a bit

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


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index dbf1985..a9a7d65 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2474,6 +2474,12 @@ fs_rtp_session_verify_send_codec_bin_locked (FsRtpSession *self, GError **error)
   return TRUE;
 }
 
+/*
+ * This callback is called when the pad of a substream has been locked because
+ * the codec needs to be changed. It will see if there is a new codec to be set,
+ * if there is, it will change the codec bin.
+ */
+
 static void
 _substream_blocked (FsRtpSubStream *substream, FsRtpStream *stream,
     FsRtpSession *session)
-- 
1.5.6.5




More information about the farsight-commits mailing list