mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
0ed39caa1a
commit
b507a3e175
3 changed files with 9 additions and 2 deletions
|
@ -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>
|
2006-09-06 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull),
|
* gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull),
|
||||||
|
|
|
@ -238,7 +238,7 @@ gst_level_set_property (GObject * object, guint prop_id,
|
||||||
filter->message = g_value_get_boolean (value);
|
filter->message = g_value_get_boolean (value);
|
||||||
break;
|
break;
|
||||||
case PROP_SIGNAL_INTERVAL:
|
case PROP_SIGNAL_INTERVAL:
|
||||||
filter->interval = gst_guint64_to_gdouble (g_value_get_uint64 (value));
|
filter->interval = g_value_get_uint64 (value);
|
||||||
break;
|
break;
|
||||||
case PROP_PEAK_TTL:
|
case PROP_PEAK_TTL:
|
||||||
filter->decay_peak_ttl =
|
filter->decay_peak_ttl =
|
||||||
|
|
|
@ -53,7 +53,7 @@ struct _GstLevel {
|
||||||
GstBaseTransform element;
|
GstBaseTransform element;
|
||||||
|
|
||||||
gboolean message; /* whether or not to post messages */
|
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 rate; /* caps variables */
|
||||||
gint width;
|
gint width;
|
||||||
|
|
Loading…
Reference in a new issue