[PATCH] make SeekSlider and VolumeSlider "swift"

Tanguy Krotoff tkrotoff at gmail.com
Fri Nov 28 09:07:23 CET 2008


Hello

Here is a patch (against latest Phonon SVN) to make SeekSlider and
VolumeSlider "swift"
This way is more user friendly: the seek goes where the user clicks
(like in VLC and other players).

The original code is from SMPlayer (developed by Ricardo Villalba
rvm at escomposlinux.org)
See http://smplayer.svn.sourceforge.net/viewvc/smplayer/smplayer/trunk/src/myslider.cpp?revision=1209
So if the patch is accepted, even if it is a few lines of code (< 50),
it's better to ask him about the copyright and stuffs.
(You can see from the original myslider.cpp that Ricardo spent quite
some time to find the right solution)

Turn this behavior optional? I don't see the need since I can't find
any player doing seeking the old way.

I've tested the patch under Windows/Qt-4.4.3 for music and video
playback and everything works as expected

Thx

-- 
Tanguy Krotoff <tkrotoff at gmail.com>
+33 6 68 42 70 24
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swiftslider.diff
Type: application/octet-stream
Size: 6979 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/phonon-backends/attachments/20081128/3d6542c6/attachment.dll 


More information about the Phonon-backends mailing list