diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-03-30 17:06:26 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-03-30 17:06:26 +0000 |
commit | 444336ab9055ff036ae8ba5ba25591174d3b87de (patch) | |
tree | 3b70ea62c77db652f7545c1c2f85852c2005bd14 /ext/audiofile | |
parent | 2641c8c05fc04a14c82a4f9a91927e4002342ddb (diff) | |
download | gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.tar.gz gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.tar.bz2 gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.zip |
Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
Diffstat (limited to 'ext/audiofile')
-rw-r--r-- | ext/audiofile/gstafsink.c | 10 |
1 files changed, 5 insertions, 5 deletions
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, |