summaryrefslogtreecommitdiff
path: root/ext/opus
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-09-12 09:10:35 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-09-12 09:13:30 +0100
commit331b660e65f437e2bf5c986c9171d4a48ce93759 (patch)
treee12323ad7f5e0cd7610a7fa659048f191d4fd82f /ext/opus
parent24fa2ac653f45792113f3bc2b7cca18bac328970 (diff)
downloadgstreamer-plugins-base-331b660e65f437e2bf5c986c9171d4a48ce93759.tar.gz
opus + jpegformat: unbreak non-debug build
opus + jpegformat plugin builds fail when gstreamer is configured with --disable-gst-debug as they are checking the GST_DISABLE_DEBUG symbol instead of GST_DISABLE_GST_DEBUG. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> https://bugzilla.gnome.org/show_bug.cgi?id=683850
Diffstat (limited to 'ext/opus')
-rw-r--r--ext/opus/gstopusdec.c2
-rw-r--r--ext/opus/gstopusenc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c
index 0e2805cc0..ab7221d7b 100644
--- a/ext/opus/gstopusdec.c
+++ b/ext/opus/gstopusdec.c
@@ -375,7 +375,7 @@ opus_dec_chain_parse_data (GstOpusDec * dec, GstBuffer * buffer)
GST_DEBUG_OBJECT (dec, "Creating decoder with %d channels, %d Hz",
dec->n_channels, dec->sample_rate);
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
gst_opus_common_log_channel_mapping_table (GST_ELEMENT (dec), opusdec_debug,
"Mapping table", dec->n_channels, dec->channel_mapping);
#endif
diff --git a/ext/opus/gstopusenc.c b/ext/opus/gstopusenc.c
index 240a2cb16..d9917951c 100644
--- a/ext/opus/gstopusenc.c
+++ b/ext/opus/gstopusenc.c
@@ -574,7 +574,7 @@ gst_opus_enc_setup_channel_mappings (GstOpusEnc * enc,
}
}
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
GST_INFO_OBJECT (enc,
"Mapping tables built: %d channels, %d stereo streams", enc->n_channels,
enc->n_stereo_streams);
@@ -641,7 +641,7 @@ gst_opus_enc_setup (GstOpusEnc * enc)
{
int error = OPUS_OK;
-#ifndef GST_DISABLE_DEBUG
+#ifndef GST_DISABLE_GST_DEBUG
GST_DEBUG_OBJECT (enc,
"setup: %d Hz, %d channels, %d stereo streams, family %d",
enc->sample_rate, enc->n_channels, enc->n_stereo_streams,