[farsight2/master] Make clear that pad_added and request_pt_map are callbacks, not methods

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


---
 gst/fsrtpconference/fs-rtp-conference.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-conference.c b/gst/fsrtpconference/fs-rtp-conference.c
index dfb2bc3..86f7601 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -110,13 +110,13 @@ static FsRtpSession *fs_rtp_conference_get_session_by_id_locked (
     FsRtpConference *self, guint session_id);
 static FsRtpSession *fs_rtp_conference_get_session_by_id (
     FsRtpConference *self, guint session_id);
-static GstCaps *fs_rtp_conference_rtpbin_request_pt_map (GstElement *element,
-                                                         guint session_id,
-                                                         guint pt,
-                                                         gpointer user_data);
-static void fs_rtp_conference_rtpbin_pad_added (GstElement *rtpbin,
-                                                GstPad *new_pad,
-                                                gpointer user_data);
+static GstCaps *_rtpbin_request_pt_map (GstElement *element,
+    guint session_id,
+    guint pt,
+    gpointer user_data);
+static void _rtpbin_pad_added (GstElement *rtpbin,
+    GstPad *new_pad,
+    gpointer user_data);
 
 
 static void
@@ -211,13 +211,13 @@ fs_rtp_conference_init (FsRtpConference *conf,
   gst_object_ref (conf->gstrtpbin);
 
   g_signal_connect (conf->gstrtpbin, "request-pt-map",
-                    G_CALLBACK (fs_rtp_conference_rtpbin_request_pt_map), conf);
+                    G_CALLBACK (_rtpbin_request_pt_map), conf);
   g_signal_connect (conf->gstrtpbin, "pad-added",
-                    G_CALLBACK (fs_rtp_conference_rtpbin_pad_added), conf);
+                    G_CALLBACK (_rtpbin_pad_added), conf);
 }
 
 static GstCaps *
-fs_rtp_conference_rtpbin_request_pt_map (GstElement *element, guint session_id,
+_rtpbin_request_pt_map (GstElement *element, guint session_id,
                                          guint pt, gpointer user_data)
 {
   FsRtpConference *self = FS_RTP_CONFERENCE (user_data);
@@ -239,7 +239,7 @@ fs_rtp_conference_rtpbin_request_pt_map (GstElement *element, guint session_id,
 }
 
 static void
-fs_rtp_conference_rtpbin_pad_added (GstElement *rtpbin, GstPad *new_pad,
+_rtpbin_pad_added (GstElement *rtpbin, GstPad *new_pad,
   gpointer user_data)
 {
   FsRtpConference *self = FS_RTP_CONFERENCE (user_data);
-- 
1.5.6.5




More information about the farsight-commits mailing list