Fix g_object_set last argument

This resolves Bug 2433

Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit a01ecb74ec)
r14.0.x
François Andriot 9 years ago committed by Slávek Banko
parent f36ab2dbfd
commit d541e862ea

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