diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-06-27 11:24:37 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-06-27 11:25:20 +0100 |
commit | 144d43bceff9d9d3c8bf0fdb061f0ce99073c880 (patch) | |
tree | db9906f4c6399e3672344acfe594213fe4d15854 /gst/ivfparse | |
parent | a189cef9c87734b7238152c02f662fef27ff74fd (diff) | |
download | gstreamer-plugins-bad-144d43bceff9d9d3c8bf0fdb061f0ce99073c880.tar.gz |
assrender, ivfparse, jpegformat: fix compiler warnings with debugging disabled in core
Diffstat (limited to 'gst/ivfparse')
-rw-r--r-- | gst/ivfparse/gstivfparse.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gst/ivfparse/gstivfparse.c b/gst/ivfparse/gstivfparse.c index a62180140..da5efa71b 100644 --- a/gst/ivfparse/gstivfparse.c +++ b/gst/ivfparse/gstivfparse.c @@ -188,7 +188,10 @@ gst_ivfparse_chain (GstPad * pad, GstBuffer * buf) guint16 height = GST_READ_UINT16_LE (data + 14); guint32 rate_num = GST_READ_UINT32_LE (data + 16); guint32 rate_den = GST_READ_UINT32_LE (data + 20); +#ifndef GST_DISABLE_GST_DEBUG guint32 num_frames = GST_READ_UINT32_LE (data + 24); +#endif + /* last 4 bytes unused */ gst_adapter_flush (ivf->adapter, 32); @@ -233,8 +236,9 @@ gst_ivfparse_chain (GstPad * pad, GstBuffer * buf) guint32 frame_size = GST_READ_UINT32_LE (data); guint64 frame_pts = GST_READ_UINT64_LE (data + 4); - GST_LOG_OBJECT (ivf, "Read frame header: size %u, pts %" G_GUINT64_FORMAT, - frame_size, frame_pts); + GST_LOG_OBJECT (ivf, + "Read frame header: size %u, pts %" G_GUINT64_FORMAT, frame_size, + frame_pts); if (gst_adapter_available (ivf->adapter) >= 12 + frame_size) { GstBuffer *frame; |