summaryrefslogtreecommitdiff
path: root/gst/geometrictransform/gsttunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/geometrictransform/gsttunnel.c')
-rw-r--r--gst/geometrictransform/gsttunnel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/geometrictransform/gsttunnel.c b/gst/geometrictransform/gsttunnel.c
index 861a911ca..3bda98a6a 100644
--- a/gst/geometrictransform/gsttunnel.c
+++ b/gst/geometrictransform/gsttunnel.c
@@ -82,7 +82,9 @@ tunnel_map (GstGeometricTransform * gt, gint x, gint y, gdouble * in_x,
gdouble * in_y)
{
GstCircleGeometricTransform *cgt = GST_CIRCLE_GEOMETRIC_TRANSFORM_CAST (gt);
+#ifndef GST_DISABLE_GST_DEBUG
GstTunnel *tunnel = GST_TUNNEL_CAST (gt);
+#endif
gdouble norm_x, norm_y;
gdouble width = gt->width;