Just make it compile with --disable-gst-debug.

Original commit message from CVS:
Just make it compile with --disable-gst-debug.
This commit is contained in:
Edgard Lima 2006-02-03 18:24:54 +00:00
parent bcd611761c
commit a82a14f75d
4 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-02-03 Edgard Lima <edgard.lima@indt.org.br>
* ext/mad/gstid3tag.c:
* gst/realmedia/rmdemux.c:
Just make it compile with --disable-gst-debug.
2006-01-31 Jan Schmidt <thaytan@mad.scientist.com>
* ext/mad/gstmad.c: (gst_mad_convert_src), (scale),

2
common

@ -1 +1 @@
Subproject commit 0b93085188e83fe678ec5ded2823cd7c24dfa843
Subproject commit 79d67fe009b6120b82d51df860c78e8361f02aea

View file

@ -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]

View file

@ -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: