diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-30 22:59:36 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-30 23:01:51 +0800 |
commit | 2d4ca2150069139ab347bddce5a5c9264c1be3b1 (patch) | |
tree | cde66d750ca884b8052e266fb79de9eb00f42317 /src/empathy-audio-src.c | |
parent | e0469fa0914a13961878ef435c1c275819e04e65 (diff) | |
download | gsoc2013-empathy-2d4ca2150069139ab347bddce5a5c9264c1be3b1.tar gsoc2013-empathy-2d4ca2150069139ab347bddce5a5c9264c1be3b1.tar.gz gsoc2013-empathy-2d4ca2150069139ab347bddce5a5c9264c1be3b1.tar.bz2 gsoc2013-empathy-2d4ca2150069139ab347bddce5a5c9264c1be3b1.tar.lz gsoc2013-empathy-2d4ca2150069139ab347bddce5a5c9264c1be3b1.tar.xz gsoc2013-empathy-2d4ca2150069139ab347bddce5a5c9264c1be3b1.tar.zst gsoc2013-empathy-2d4ca2150069139ab347bddce5a5c9264c1be3b1.zip |
Properly cast buffer and latency times when setting properties
This fix a crash on 32 bits system as gcc can't figure out the right size of
the value.
Thanks to Raluca-Elena Podiuc for her help in debugging this.
https://bugzilla.gnome.org/show_bug.cgi?id=665171
Diffstat (limited to 'src/empathy-audio-src.c')
-rw-r--r-- | src/empathy-audio-src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c index aa271fa1c..9a882c146 100644 --- a/src/empathy-audio-src.c +++ b/src/empathy-audio-src.c @@ -332,7 +332,7 @@ create_src (void) empathy_call_set_stream_properties (src, TRUE); /* Set latency (buffering on the PulseAudio side) of 20ms */ - g_object_set (src, "buffer-time", 20000, NULL); + g_object_set (src, "buffer-time", (gint64) 20000, NULL); return src; } |