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. --- ext/esd/esdsink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/esd') diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index b22e69d4..63b4a10d 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -227,9 +227,9 @@ gst_esdsink_sinkconnect (GstPad *pad, GstCaps *caps) if (!GST_CAPS_IS_FIXED (caps)) return GST_PAD_CONNECT_DELAYED; - esdsink->depth = gst_caps_get_int (caps, "depth"); - esdsink->channels = gst_caps_get_int (caps, "channels"); - esdsink->frequency = gst_caps_get_int (caps, "rate"); + gst_caps_get_int (caps, "depth", &esdsink->depth); + gst_caps_get_int (caps, "channels", &esdsink->channels); + gst_caps_get_int (caps, "rate", &esdsink->frequency); if (gst_esdsink_sync_parms (esdsink)) return GST_PAD_CONNECT_OK; -- cgit