diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-06-24 16:32:23 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-06-24 16:34:03 +0100 |
commit | 19216e72183076541a667f9528d20f030b14f201 (patch) | |
tree | 9304462098d6c8a6f0186b6ba6c990c1a123400d /gst/videobox | |
parent | 8afc8a7398fd5581b0d40dccdffec971e9dee789 (diff) |
matroska, videobox, videofilter: fix compiler warnings when debugging is disabled in gstreamer
Fixes unused variable warnings when GStreamer's debugging system has been disabled.
Diffstat (limited to 'gst/videobox')
-rw-r--r-- | gst/videobox/gstvideobox.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index 6b4be8627..f9854882f 100644 --- a/gst/videobox/gstvideobox.c +++ b/gst/videobox/gstvideobox.c @@ -3186,7 +3186,6 @@ static gboolean gst_video_box_get_unit_size (GstBaseTransform * trans, GstCaps * caps, guint * size) { - GstVideoBox *video_box = GST_VIDEO_BOX (trans); GstVideoFormat format; gint width, height; gboolean ret; @@ -3195,13 +3194,13 @@ gst_video_box_get_unit_size (GstBaseTransform * trans, GstCaps * caps, ret = gst_video_format_parse_caps (caps, &format, &width, &height); if (!ret) { - GST_ERROR_OBJECT (video_box, "Invalid caps: %" GST_PTR_FORMAT, caps); + GST_ERROR_OBJECT (trans, "Invalid caps: %" GST_PTR_FORMAT, caps); return FALSE; } *size = gst_video_format_get_size (format, width, height); - GST_LOG_OBJECT (video_box, "Returning from _unit_size %d", *size); + GST_LOG_OBJECT (trans, "Returning from _unit_size %d", *size); return TRUE; } |