From a82a14f75d8911b663b728201a8073a26f9ea324 Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Fri, 3 Feb 2006 18:24:54 +0000 Subject: [PATCH] Just make it compile with --disable-gst-debug. Original commit message from CVS: Just make it compile with --disable-gst-debug. --- ChangeLog | 6 ++++++ common | 2 +- ext/mad/gstid3tag.c | 4 ++++ gst/realmedia/rmdemux.c | 2 ++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f0d4ee5f84..f0bdcb7873 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-02-03 Edgard Lima + + * ext/mad/gstid3tag.c: + * gst/realmedia/rmdemux.c: + Just make it compile with --disable-gst-debug. + 2006-01-31 Jan Schmidt * ext/mad/gstmad.c: (gst_mad_convert_src), (scale), diff --git a/common b/common index 0b93085188..79d67fe009 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 0b93085188e83fe678ec5ded2823cd7c24dfa843 +Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea diff --git a/ext/mad/gstid3tag.c b/ext/mad/gstid3tag.c index a5cbe579cd..2607ce1fd9 100644 --- a/ext/mad/gstid3tag.c +++ b/ext/mad/gstid3tag.c @@ -55,6 +55,7 @@ typedef enum } GstID3TagState; +#ifndef GST_DISABLE_GST_DEBUG static const char *state_names[] = { "READING_V2_TAG", "SEEKING_TO_V1_TAG", @@ -63,6 +64,7 @@ static const char *state_names[] = { "NORMAL_START2", "NORMAL" }; +#endif #define GST_ID3_TAG_GET_STATE_NAME(state) state_names[state] @@ -75,12 +77,14 @@ typedef enum } GstID3ParseMode; +#ifndef GST_DISABLE_GST_DEBUG static const char *mode_names[] = { "BASE", "DEMUX", "MUX", "ANY" }; +#endif #define GST_ID3_TAG_GET_MODE_NAME(mode) mode_names[mode] diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c index 0dec3eaf5b..7b9880fc77 100644 --- a/gst/realmedia/rmdemux.c +++ b/gst/realmedia/rmdemux.c @@ -263,7 +263,9 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, { gboolean ret = TRUE; +#ifndef GST_DISABLE_GST_DEBUG GstRMDemux *rmdemux = GST_RMDEMUX (GST_PAD_PARENT (pad)); +#endif switch (GST_EVENT_TYPE (event)) { case GST_EVENT_NEWSEGMENT: