[farsight2/master] Rename custom lookup function to match others

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


---
 gst/fsrtpconference/fs-rtp-codec-negotiation.c |    2 +-
 gst/fsrtpconference/fs-rtp-codec-negotiation.h |    2 +-
 gst/fsrtpconference/fs-rtp-dtmf-event-source.c |    2 +-
 gst/fsrtpconference/fs-rtp-dtmf-sound-source.c |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 1655db0..0ec88fa 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -698,7 +698,7 @@ codec_association_is_valid_for_sending (CodecAssociation *ca)
 
 
 CodecAssociation *
-codec_association_find_custom (GList *codec_associations,
+lookup_codec_association_custom (GList *codec_associations,
     CAFindFunc func, gpointer user_data)
 {
   GList *item;
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.h b/gst/fsrtpconference/fs-rtp-codec-negotiation.h
index 22d3d5c..98469bd 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.h
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.h
@@ -95,7 +95,7 @@ codec_association_list_destroy (GList *list);
 typedef gboolean (*CAFindFunc) (CodecAssociation *ca, gpointer user_data);
 
 CodecAssociation *
-codec_association_find_custom (GList *codec_associations,
+lookup_codec_association_custom (GList *codec_associations,
     CAFindFunc func, gpointer user_data);
 
 
diff --git a/gst/fsrtpconference/fs-rtp-dtmf-event-source.c b/gst/fsrtpconference/fs-rtp-dtmf-event-source.c
index 2b6fd97..ccbe0b9 100644
--- a/gst/fsrtpconference/fs-rtp-dtmf-event-source.c
+++ b/gst/fsrtpconference/fs-rtp-dtmf-event-source.c
@@ -219,7 +219,7 @@ get_telephone_event_codec (GList *codecs, guint clock_rate)
 {
   CodecAssociation *ca = NULL;
 
-  ca = codec_association_find_custom (codecs, _is_telephony_codec,
+  ca = lookup_codec_association_custom (codecs, _is_telephony_codec,
       GUINT_TO_POINTER (clock_rate));
 
   if (ca)
diff --git a/gst/fsrtpconference/fs-rtp-dtmf-sound-source.c b/gst/fsrtpconference/fs-rtp-dtmf-sound-source.c
index e05b46d..29beae8 100644
--- a/gst/fsrtpconference/fs-rtp-dtmf-sound-source.c
+++ b/gst/fsrtpconference/fs-rtp-dtmf-sound-source.c
@@ -118,7 +118,7 @@ get_pcm_law_sound_codec (GList *codecs,
 {
   CodecAssociation *ca = NULL;
 
-  ca = codec_association_find_custom (codecs, _is_law_codec, NULL);
+  ca = lookup_codec_association_custom (codecs, _is_law_codec, NULL);
 
   if (!ca)
     return NULL;
-- 
1.5.6.5




More information about the farsight-commits mailing list