mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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
This commit is contained in:
parent
3bb23a5e98
commit
b04e61d8a4
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -524,7 +524,7 @@ gst_jpeg_parse_skip_marker (GstJpegParse * parse,
|
|||
if (!gst_byte_reader_get_uint16_be (reader, &size))
|
||||
return FALSE;
|
||||
|
||||
#ifndef GST_DISABLE_DEBUG
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
/* We'd pry the id of the skipped application segment */
|
||||
if (marker >= APP0 && marker <= APP15) {
|
||||
const gchar *id_str = NULL;
|
||||
|
@ -540,7 +540,7 @@ gst_jpeg_parse_skip_marker (GstJpegParse * parse,
|
|||
#else
|
||||
GST_DEBUG_OBJECT (parse, "unhandled marker %x skiping %u bytes", marker,
|
||||
size);
|
||||
#endif // GST_DISABLE_DEBUG
|
||||
#endif // GST_DISABLE_GST_DEBUG
|
||||
|
||||
if (!gst_byte_reader_skip (reader, size - 2))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue