summaryrefslogtreecommitdiffstats
path: root/gst/rtp
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-04-24 22:01:52 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-04-24 22:01:52 +0000
commit287b38dc709ddb8eed8ef7b0d713f9ced25427a0 (patch)
tree3309db908bf55a09c5ac85e26e5f30e4eced8346 /gst/rtp
parent5990c11c1d7a31ec91df7f35bf1f30a010a54498 (diff)
Stop using deprecated GLib functions.
Original commit message from CVS: * ext/cairo/gsttextoverlay.c: (gst_text_overlay_set_property): * gst/debug/tests.c: (md5_get_value): * gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps): * gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_setcaps): * gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps): * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps): Stop using deprecated GLib functions.
Diffstat (limited to 'gst/rtp')
-rw-r--r--gst/rtp/gstrtph263pdepay.c8
-rw-r--r--gst/rtp/gstrtpilbcpay.c2
-rw-r--r--gst/rtp/gstrtptheoradepay.c4
-rw-r--r--gst/rtp/gstrtpvorbisdepay.c4
4 files changed, 9 insertions, 9 deletions
diff --git a/gst/rtp/gstrtph263pdepay.c b/gst/rtp/gstrtph263pdepay.c
index 7d775732..da25acc5 100644
--- a/gst/rtp/gstrtph263pdepay.c
+++ b/gst/rtp/gstrtph263pdepay.c
@@ -179,19 +179,19 @@ gst_rtp_h263p_depay_setcaps (GstBaseRTPDepayload * filter, GstCaps * caps)
F = gst_structure_get_string (structure, "f");
if (F)
- if (g_strcasecmp (F, "1") == 0)
+ if (g_ascii_strcasecmp (F, "1") == 0)
is_h263p = TRUE;
I = gst_structure_get_string (structure, "i");
if (I)
- if (g_strcasecmp (I, "1") == 0)
+ if (g_ascii_strcasecmp (I, "1") == 0)
is_h263p = TRUE;
J = gst_structure_get_string (structure, "j");
if (J)
- if (g_strcasecmp (J, "1") == 0)
+ if (g_ascii_strcasecmp (J, "1") == 0)
is_h263p = TRUE;
T = gst_structure_get_string (structure, "t");
if (T)
- if (g_strcasecmp (T, "1") == 0)
+ if (g_ascii_strcasecmp (T, "1") == 0)
is_h263p = TRUE;
K = gst_structure_get_string (structure, "k");
if (K)
diff --git a/gst/rtp/gstrtpilbcpay.c b/gst/rtp/gstrtpilbcpay.c
index 708f5357..5d226d68 100644
--- a/gst/rtp/gstrtpilbcpay.c
+++ b/gst/rtp/gstrtpilbcpay.c
@@ -131,7 +131,7 @@ gst_rtpilbcpay_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps)
goto wrong_mode;
payload_name = gst_structure_get_name (structure);
- if (g_strcasecmp ("audio/x-iLBC", payload_name))
+ if (g_ascii_strcasecmp ("audio/x-iLBC", payload_name))
goto wrong_caps;
gst_basertppayload_set_options (basertppayload, "audio", TRUE, "ILBC", 8000);
diff --git a/gst/rtp/gstrtptheoradepay.c b/gst/rtp/gstrtptheoradepay.c
index d3989dc9..5ae6f812 100644
--- a/gst/rtp/gstrtptheoradepay.c
+++ b/gst/rtp/gstrtptheoradepay.c
@@ -339,9 +339,9 @@ gst_rtp_theora_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
if (delivery_method == NULL)
goto no_delivery_method;
- if (g_strcasecmp (delivery_method, "inline")) {
+ if (g_ascii_strcasecmp (delivery_method, "inline")) {
/* configure string is in the caps */
- } else if (g_strcasecmp (delivery_method, "in_band")) {
+ } else if (g_ascii_strcasecmp (delivery_method, "in_band")) {
/* headers will (also) be transmitted in the RTP packets */
} else if (g_str_has_prefix (delivery_method, "out_band/")) {
/* some other method of header delivery. */
diff --git a/gst/rtp/gstrtpvorbisdepay.c b/gst/rtp/gstrtpvorbisdepay.c
index a28e41ef..46afd2b4 100644
--- a/gst/rtp/gstrtpvorbisdepay.c
+++ b/gst/rtp/gstrtpvorbisdepay.c
@@ -347,9 +347,9 @@ gst_rtp_vorbis_depay_setcaps (GstBaseRTPDepayload * depayload, GstCaps * caps)
if (delivery_method == NULL)
goto no_delivery_method;
- if (g_strcasecmp (delivery_method, "inline")) {
+ if (g_ascii_strcasecmp (delivery_method, "inline")) {
/* configure string is in the caps */
- } else if (g_strcasecmp (delivery_method, "in_band")) {
+ } else if (g_ascii_strcasecmp (delivery_method, "in_band")) {
/* headers will (also) be transmitted in the RTP packets */
} else if (g_str_has_prefix (delivery_method, "out_band/")) {
/* some other method of header delivery. */