From 13d9e8d35227337a04b0cd24a0dda7c0c3961289 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 30 Mar 2002 17:06:26 +0000 Subject: Changed to the new props API Original commit message from CVS: Changed to the new props API Other small tuff. --- gst/level/gstlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/level') 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(); -- cgit