diff options
author | François Andriot <francois.andriot@free.fr> | 2015-05-26 01:47:31 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-05-26 01:47:31 +0200 |
commit | a01ecb74ec118fb468133db6af28611f1024caee (patch) | |
tree | 5946b87c1fcaef66340c2f1501915dcf7f979f91 /src/gstplayer.cpp | |
parent | 817f075e913e88307316b2dff6c1981072105ddf (diff) | |
download | kmplayer-a01ecb74ec118fb468133db6af28611f1024caee.tar.gz kmplayer-a01ecb74ec118fb468133db6af28611f1024caee.zip |
Fix g_object_set last argument
This resolves Bug 2433
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'src/gstplayer.cpp')
-rw-r--r-- | src/gstplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gstplayer.cpp b/src/gstplayer.cpp index c4bf580..0585ac9 100644 --- a/src/gstplayer.cpp +++ b/src/gstplayer.cpp @@ -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 () { |