[farsight2/master] Replace underscores with hyphens in profile property names

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


---
 gst/fsrtpconference/fs-rtp-codec-negotiation.c |    4 ++--
 tests/check/rtp/codecs.c                       |    4 ++--
 tests/check/rtp/conference.c                   |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 07a291a..3c35186 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -34,8 +34,8 @@
 
 #define GST_CAT_DEFAULT fsrtpconference_nego
 
-#define SEND_PROFILE_ARG "farsight_send_profile"
-#define RECV_PROFILE_ARG "farsight_recv_profile"
+#define SEND_PROFILE_ARG "farsight-send-profile"
+#define RECV_PROFILE_ARG "farsight-recv-profile"
 
 
 static CodecAssociation *
diff --git a/tests/check/rtp/codecs.c b/tests/check/rtp/codecs.c
index f20cb3b..4b39685 100644
--- a/tests/check/rtp/codecs.c
+++ b/tests/check/rtp/codecs.c
@@ -785,9 +785,9 @@ profile_test (const gchar *send_profile, const gchar *recv_profile,
   FsCodec *pref_codec = fs_codec_copy (base_codec);
   GList *prefs = g_list_append (NULL, pref_codec);
 
-  fs_codec_add_optional_parameter (pref_codec, "farsight_send_profile",
+  fs_codec_add_optional_parameter (pref_codec, "farsight-send-profile",
       send_profile);
-  fs_codec_add_optional_parameter (pref_codec, "farsight_recv_profile",
+  fs_codec_add_optional_parameter (pref_codec, "farsight-recv-profile",
       recv_profile);
 
   conf = gst_element_factory_make ("fsrtpconference", NULL);
diff --git a/tests/check/rtp/conference.c b/tests/check/rtp/conference.c
index 046357d..5ab3849 100644
--- a/tests/check/rtp/conference.c
+++ b/tests/check/rtp/conference.c
@@ -998,7 +998,7 @@ _simple_profile_init (void)
   gboolean ret;
 
   codec = fs_codec_new (0, "PCMU", FS_MEDIA_TYPE_AUDIO, 8000);
-  fs_codec_add_optional_parameter (codec, "farsight_send_profile",
+  fs_codec_add_optional_parameter (codec, "farsight-send-profile",
       "audioconvert ! audioresample ! audioconvert ! mulawenc ! rtppcmupay");
   prefs = g_list_append (NULL, codec);
 
@@ -1086,7 +1086,7 @@ _double_profile_init (void)
   st2->handoff_handler = G_CALLBACK (_double_codec_handoff_handler);
 
   codec = fs_codec_new (0, "PCMU", FS_MEDIA_TYPE_AUDIO, 8000);
-  fs_codec_add_optional_parameter (codec, "farsight_send_profile",
+  fs_codec_add_optional_parameter (codec, "farsight-send-profile",
       "tee name=t "
       "t. ! audioconvert ! audioresample ! audioconvert ! mulawenc ! rtppcmupay "
       "t. ! audioconvert ! audioresample ! audioconvert ! alawenc ! rtppcmapay");
-- 
1.5.6.5




More information about the farsight-commits mailing list