summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-07-29 09:35:08 +0200
committerEdward Hervey <edward@collabora.com>2013-07-29 09:42:12 +0200
commit97426a1caac4abba03f43a5c4b6c6fcff30ba167 (patch)
tree48d2af2f49a72da383a97d2b7a00ae09799e3426 /gst-libs
parentbc84cd775fac9f6163526fba55d2f68dc3c067c1 (diff)
downloadgstreamer-plugins-bad-97426a1caac4abba03f43a5c4b6c6fcff30ba167.tar.gz
all: Fix for GST_DISABLE_GST_DEBUG
Where applicable, remove methods that don't do anything different than the default implementation.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/codecparsers/gsth264parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index 7c9148eb7..46785d85d 100644
--- a/gst-libs/gst/codecparsers/gsth264parser.c
+++ b/gst-libs/gst/codecparsers/gsth264parser.c
@@ -1968,7 +1968,9 @@ gst_h264_parser_parse_sei (GstH264NalParser * nalparser, GstH264NalUnit * nalu,
guint32 payloadSize;
guint8 payload_type_byte, payload_size_byte;
+#ifndef GST_DISABLE_GST_DEBUG
guint remaining, payload_size;
+#endif
GstH264ParserResult res;
GST_DEBUG ("parsing \"Sei message\"");
@@ -1991,11 +1993,13 @@ gst_h264_parser_parse_sei (GstH264NalParser * nalparser, GstH264NalUnit * nalu,
}
while (payload_size_byte == 0xff);
+#ifndef GST_DISABLE_GST_DEBUG
remaining = nal_reader_get_remaining (&nr) * 8;
payload_size = payloadSize < remaining ? payloadSize : remaining;
GST_DEBUG ("SEI message received: payloadType %u, payloadSize = %u bytes",
sei->payloadType, payload_size);
+#endif
if (sei->payloadType == GST_H264_SEI_BUF_PERIOD) {
/* size not set; might depend on emulation_prevention_three_byte */