diff --git a/configure.ac b/configure.ac index a28ea9cbc7..2418dd5002 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,7 @@ dnl decide on error flags AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",GST_ERROR="$GST_ERROR") if test "x$GST_CVS" = "xyes"; then AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR") + GST_ERROR="$GST_ERROR -DG_DISABLE_DEPRECATED" fi dnl We disable static building for development, for time savings diff --git a/gst/elements/gsttee.c b/gst/elements/gsttee.c index 4f0249f20c..363684edae 100644 --- a/gst/elements/gsttee.c +++ b/gst/elements/gsttee.c @@ -26,6 +26,8 @@ #include "gsttee.h" +#include + GST_DEBUG_CATEGORY_STATIC (gst_tee_debug); #define GST_CAT_DEFAULT gst_tee_debug @@ -241,7 +243,7 @@ gint name_pad_compare (gconstpointer a, gconstpointer b) g_assert (GST_IS_PAD (pad)); - return g_strcasecmp (name, gst_pad_get_name (pad)); /* returns 0 if match */ + return strcmp (name, gst_pad_get_name (pad)); /* returns 0 if match */ } static GstPad* diff --git a/gst/gstutils.c b/gst/gstutils.c index 6dd2e2d201..c59ab72eb0 100644 --- a/gst/gstutils.c +++ b/gst/gstutils.c @@ -209,7 +209,7 @@ gst_util_set_object_arg (GObject * object, const gchar * name, const gchar * val case G_TYPE_BOOLEAN:{ gboolean i = FALSE; - if (!g_strncasecmp ("true", value, 4)) + if (!g_ascii_strncasecmp ("true", value, 4)) i = TRUE; g_object_set (G_OBJECT (object), name, i, NULL); break; diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index 4f0249f20c..363684edae 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -26,6 +26,8 @@ #include "gsttee.h" +#include + GST_DEBUG_CATEGORY_STATIC (gst_tee_debug); #define GST_CAT_DEFAULT gst_tee_debug @@ -241,7 +243,7 @@ gint name_pad_compare (gconstpointer a, gconstpointer b) g_assert (GST_IS_PAD (pad)); - return g_strcasecmp (name, gst_pad_get_name (pad)); /* returns 0 if match */ + return strcmp (name, gst_pad_get_name (pad)); /* returns 0 if match */ } static GstPad*