From 444336ab9055ff036ae8ba5ba25591174d3b87de 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/audiofile/gstafsink.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ext/audiofile') diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c index 7a3fa571..0a32c178 100644 --- a/ext/audiofile/gstafsink.c +++ b/ext/audiofile/gstafsink.c @@ -311,11 +311,11 @@ gst_afsink_open_file (GstAFSink *sink) } else { - sink->channels = gst_caps_get_int (caps, "channels"); - sink->width = gst_caps_get_int (caps, "width"); - sink->rate = gst_caps_get_int (caps, "rate"); - sink->is_signed = gst_caps_get_int (caps, "signed"); - sink->endianness_data = gst_caps_get_int (caps, "endianness"); + gst_caps_get_int (caps, "channels", &sink->channels); + gst_caps_get_int (caps, "width", &sink->width); + gst_caps_get_int (caps, "rate", &sink->rate); + gst_caps_get_int (caps, "signed", &sink->is_signed); + gst_caps_get_int (caps, "endianness", &sink->endianness_data); } GST_DEBUG (GST_CAT_PLUGIN_INFO, "channels %d, width %d, rate %d, signed %s", sink->channels, sink->width, sink->rate, -- cgit v1.2.1