[Mplayer-advusers] trouble with the -vm option

Christian Ohm chr.ohm at gmx.net
Wed Jun 26 01:15:01 CEST 2002


On Tuesday, 25 June 2002 at 20:04, Magnus Pfeffer wrote:
> Am Dienstag, 25. Juni 2002 01:13 schrieb Christian Ohm:
> > the first is a patch to mplayer, that adds a -grabmouse option
> > (grabmouse=0 in the config file) so mplayer doesn't grab the cursor
> > anymore. and (by pure chance) it doesn't unpause when any key is pressed.
> 
> It works fine! It could be considered to add the patch to mplayer cvs.

hmmm, i don't think it worked perfectly (the option stuff in (iirc)
cfg-mplayer.h for example), so someone how knows how options work should
correct it first. and i don't know x, so perhaps there is a better way to do
it. i just searched for something mousy and removed it.

> > i hope that helps.
> 
> Yes, but some other cvs commit changed the -vm behaviour. mplayer cvs 
> (updated just now) does:
> 
> -vm with -vo x11 (and -fs -zoom) renders the movie in the full desktop 
> resolution, whether a smaller resolution/viewport is selected or not. 

i don't use -zoom, i have 'vop=scale=648:-2' in my config, so it scales to
the width of the viewable part of the 720x480.

> -vm with -vo x11 (and -fs) crashes mplayer:
> 
> --- cut ---
> XF86VM: Selected video mode 640x480 for image size 640x272.
> X11 error: BadMatch (invalid parameter attributes)
> 
> MPlayer interrupted by signal 6 in module: decode_video
> --- cut ---

i never had any crashes (with cvs from about the time i wrote the mail). but
then, i haven't used -vm since i added the scale option.

> but _not_ when I use strace to check what happens before the crash. With 
> strace it works just fine. Funny.

i had that sometimes, too. annoying, and i can't remember what the problem
was. but gdb should help in those cases.

bye
christian ohm

-- 
So this is it.  We're going to die.



More information about the MPlayer-advusers mailing list