diff options
author | François Andriot <[email protected]> | 2015-05-26 01:47:31 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-05-26 01:48:37 +0200 |
commit | d541e862eac7ea35213d93a1852caa72720ad1dc (patch) | |
tree | 49679b19ffe8ec00d7fb7735519c1cda15be428a /src | |
parent | f36ab2dbfd65427c8945996b1abd8638f09a2b0f (diff) | |
download | kmplayer-d541e862eac7ea35213d93a1852caa72720ad1dc.tar.gz kmplayer-d541e862eac7ea35213d93a1852caa72720ad1dc.zip |
Fix g_object_set last argument
This resolves Bug 2433
Signed-off-by: François Andriot <[email protected]>
(cherry picked from commit a01ecb74ec118fb468133db6af28611f1024caee)
Diffstat (limited to 'src')
-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 () { |