gst/level/gstlevel.*: Fix type mixup in level->interval (gdouble<->guint64). Spotted by

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_set_property):
* gst/level/gstlevel.h:
Fix type mixup in level->interval (gdouble<->guint64). Spotted by
René Stadler
This commit is contained in:
Stefan Kost 2006-09-11 20:38:41 +00:00
parent 0ed39caa1a
commit b507a3e175
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2006-09-11 Stefan Kost <ensonic@users.sf.net>
* 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 <ensonic@users.sf.net>
* gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull),

View file

@ -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 =

View file

@ -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;