[MPlayer-dev-eng] [PATCH] Bind to seek to a given percent

Clément Bœsch ubitux at gmail.com
Mon Nov 8 23:18:16 CET 2010


On Mon, Nov 08, 2010 at 01:58:25PM -0500, compn wrote:
> On Mon, 8 Nov 2010 13:56:25 +0100, Clément Bœsch wrote:
> >On Mon, Nov 08, 2010 at 08:03:29AM -0500, compn wrote:
> >> On Mon, 8 Nov 2010 00:10:38 +0100, Clément Bœsch wrote:
> >> >Hi,
> >> >
> >> >It's the second time a person tells me he prefers GUI over classic MPlayer
> >> >because the progress bar allows them to seek to a given position
> >> >immediately. So I was wondering about making a default bind for this.
> >> >
> >> >It seems there is not current solution to bind a combination of keys, just
> >> >like KEY_CTRL + '1', so I just binded F1 to F9 ('1' to '9' are for most of
> >> >them already in use). I know this bind is not really good (especially for
> >> >those using desktop managers) but I didn't find any better.
> >> >
> >> >What do you think of this?
> >> 
> >> i think the users like seeking with the mouse, which is how its done in
> >> every other video player with a gui. even flash plugin/youtube.
> >> 
> >> maybe it would be wiser to just remove GUI and replace it with smplayer?
> >> 
> >
> >Why smplayer? Why not gnome-mplayer? It seems to be maintained too
> >(release 1.0.0 2 days ago), and imo lighter
> >http://code.google.com/p/gnome-mplayer/downloads/list
> 
> because smplayer works on windows and linux like gmplayer.
> 

Oh, ok.

> i'm not all that happy about having another 9 keys just for seeking.

I agree.

> but after you figure out how to bind the Fx keys, maybe you can commit
> it as commented out in input.conf for those few users who want function
> key percentage seek.
> 

Looks like a nice compromise. I'm not sure about the spelling, it does not
sound that good to me:

##
## Advanced seek
## Uncommenting the following lines binds keys to seek to n% of the media.
##
#F1 seek 10 1
#F2 seek 20 1
#F3 seek 30 1
#F4 seek 40 1
#F5 seek 50 1
#F6 seek 60 1
#F7 seek 70 1
#F8 seek 80 1
#F9 seek 90 1

-- 
Clément B.
Not sent from a jesusPhone.


More information about the MPlayer-dev-eng mailing list