diff --git a/ChangeLog b/ChangeLog index ef4143e695..4e37c56b99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-09-11 Stefan Kost + + * gst/level/gstlevel.c: (gst_level_set_property): + * gst/level/gstlevel.h: + Fix type mixup in level->interval (gdouble<->guint64). Spotted by + René Stadler + 2006-09-06 Stefan Kost * gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull), diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c index b68b70ccf0..1043919179 100644 --- a/gst/level/gstlevel.c +++ b/gst/level/gstlevel.c @@ -238,7 +238,7 @@ gst_level_set_property (GObject * object, guint prop_id, filter->message = g_value_get_boolean (value); break; case PROP_SIGNAL_INTERVAL: - filter->interval = gst_guint64_to_gdouble (g_value_get_uint64 (value)); + filter->interval = g_value_get_uint64 (value); break; case PROP_PEAK_TTL: filter->decay_peak_ttl = diff --git a/gst/level/gstlevel.h b/gst/level/gstlevel.h index 4652fc6778..ead53547af 100644 --- a/gst/level/gstlevel.h +++ b/gst/level/gstlevel.h @@ -53,7 +53,7 @@ struct _GstLevel { GstBaseTransform element; gboolean message; /* whether or not to post messages */ - gdouble interval; /* how many seconds between emits */ + guint64 interval; /* how many seconds between emits */ gint rate; /* caps variables */ gint width;