summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-10-31 22:10:01 (GMT)
committerStefan Kost <ensonic@users.sf.net>2009-10-31 22:31:48 (GMT)
commit519e42449403e471fe314c0c39952cc93514e256 (patch)
treee7476e2275c93336060c7385d56f86d3a30e5533
parent3f541452c4916b31a222043b172b3398647b8091 (diff)
level: use more g-style types
-rw-r--r--gst/level/gstlevel.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index 0a53c45..7fbe9f7 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -427,7 +427,7 @@ gst_level_set_caps (GstBaseTransform * trans, GstCaps * in, GstCaps * out)
GstLevel *filter = GST_LEVEL (trans);
const gchar *mimetype;
GstStructure *structure;
- int i;
+ gint i;
structure = gst_caps_get_structure (in, 0);
filter->rate = structure_get_int (structure, "rate");
@@ -469,11 +469,11 @@ gst_level_set_caps (GstBaseTransform * trans, GstCaps * in, GstCaps * out)
g_free (filter->decay_peak);
g_free (filter->decay_peak_base);
g_free (filter->decay_peak_age);
- filter->CS = g_new (double, filter->channels);
- filter->peak = g_new (double, filter->channels);
- filter->last_peak = g_new (double, filter->channels);
- filter->decay_peak = g_new (double, filter->channels);
- filter->decay_peak_base = g_new (double, filter->channels);
+ filter->CS = g_new (gdouble, filter->channels);
+ filter->peak = g_new (gdouble, filter->channels);
+ filter->last_peak = g_new (gdouble, filter->channels);
+ filter->decay_peak = g_new (gdouble, filter->channels);
+ filter->decay_peak_base = g_new (gdouble, filter->channels);
filter->decay_peak_age = g_new (GstClockTime, filter->channels);