summaryrefslogtreecommitdiff
path: root/gst/jpegformat
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
commitb04e61d8a4488ced6143150a11bd46988514ff4c (patch)
tree2e63f6335b19014ac6dbad859232e48b3d8da07a /gst/jpegformat
parent3bb23a5e985043ba0510958627a0a7b9993264de (diff)
downloadgstreamer-plugins-bad-b04e61d8a4488ced6143150a11bd46988514ff4c.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 'gst/jpegformat')
-rw-r--r--gst/jpegformat/gstjpegparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c
index f984a5242..b4af9ed90 100644
--- a/gst/jpegformat/gstjpegparse.c
+++ b/gst/jpegformat/gstjpegparse.c
@@ -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;