summaryrefslogtreecommitdiffstats
path: root/gst/level/gstlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/level/gstlevel.c')
-rw-r--r--gst/level/gstlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index 8ceade15..29f1863c 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -173,7 +173,7 @@ gst_level_chain (GstPad *pad,GstBuffer *buf)
printf ("WARNING : chain : Could not get caps of pad !\n");
}
- width = gst_caps_get_int(caps, "width");
+ gst_caps_get_int(caps, "width", &width);
in_data = (gint16 *)GST_BUFFER_DATA(buf);
outbuf=gst_buffer_new();