projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
636738d
)
tests: use right type when passing vararg value
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 24 Dec 2009 16:01:15 +0000
(17:01 +0100)
committer
Wim Taymans
<wim@metal.(none)>
Thu, 24 Dec 2009 16:01:15 +0000
(17:01 +0100)
tests/examples/audiofx/firfilter-example.c
patch
|
blob
|
history
diff --git
a/tests/examples/audiofx/firfilter-example.c
b/tests/examples/audiofx/firfilter-example.c
index
c5d56da
..
a0c3157
100644
(file)
--- a/
tests/examples/audiofx/firfilter-example.c
+++ b/
tests/examples/audiofx/firfilter-example.c
@@
-104,7
+104,7
@@
on_rate_changed (GstElement * element, gint rate, gpointer user_data)
/* Latency is 1/2 of the kernel length for this method of
* calculating a filter kernel from the frequency response
*/
- g_object_set (G_OBJECT (element), "latency",
32 / 2
, NULL);
+ g_object_set (G_OBJECT (element), "latency",
(gint64) (32 / 2)
, NULL);
g_value_array_free (va);
}