summaryrefslogtreecommitdiffstats
path: root/gst/chart
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-03-30 17:06:26 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-03-30 17:06:26 +0000
commit444336ab9055ff036ae8ba5ba25591174d3b87de (patch)
tree3b70ea62c77db652f7545c1c2f85852c2005bd14 /gst/chart
parent2641c8c05fc04a14c82a4f9a91927e4002342ddb (diff)
downloadgst-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 'gst/chart')
-rw-r--r--gst/chart/gstchart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c
index 2d362d73..f049c194 100644
--- a/gst/chart/gstchart.c
+++ b/gst/chart/gstchart.c
@@ -236,7 +236,7 @@ gst_chart_sinkconnect (GstPad *pad, GstCaps *caps)
GstChart *chart;
chart = GST_CHART (gst_pad_get_parent (pad));
- chart->samplerate = gst_caps_get_int (caps, "rate");
+ gst_caps_get_int (caps, "rate", &chart->samplerate);
chart->samples_between_frames = chart->samplerate / chart->framerate;
GST_DEBUG (0, "CHART: new sink caps: rate %d",