[MPlayer-dev-eng] Seek in a movie by mouse click

Compn tempn at twmi.rr.com
Mon Sep 24 19:50:16 CEST 2007


On Mon, 24 Sep 2007 17:16:56 +0000 (UTC), Milan Ilavsky scribed:

>Btw, thank you. I forgot that case, where the code is compiled without
>X11 compilation with this patch will break. I have fixed it and now
>I'm sending this a fixed patch.
>
>Milan Ilavsky
>

no problem :)
btw your mail client broke your new patch with word wrapping...


>+			XFillRectangle( mDisplay, vo_window, vo_gc,
>2, hh-12, ww-4, 5); +
>+			XSetForeground( mDisplay, vo_gc, 0xFF0000);
>+			XFillRectangle( mDisplay, vo_window, vo_gc,
>2, hh-12, (ww-4)*seek_mouse_pos, 5); 
>+		} else if (bol)
>{                                                        // if mouse
>leave progress bar, clear bar



More information about the MPlayer-dev-eng mailing list