Fix g_object_set last argument

This resolves Bug 2433

Signed-off-by: François Andriot <francois.andriot@free.fr>
pull/1/head
François Andriot 10 years ago committed by Slávek Banko
parent 817f075e91
commit a01ecb74ec

@ -750,7 +750,7 @@ void KGStreamerPlayer::seek (int val /*offset_in_deciseconds*/) {
void KGStreamerPlayer::volume (int val) {
//fprintf (stderr, "position %d\n", val);
if (gst_elm_play)
g_object_set (G_OBJECT (gst_elm_play), "volume", 1.0*val/100, 0L);
g_object_set (G_OBJECT (gst_elm_play), "volume", 1.0*val/100, NULL);
}
void KGStreamerPlayer::updatePosition () {

Loading…
Cancel
Save