[MPlayer-dev-eng] [MPlayer-users] [PATCH] fix in screen resolution detection by the gui

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Jun 11 18:27:26 CEST 2004


Hi,

> the screen resolution detection is not the same in
> MPlayer-1.0pre4/Gui/wm/ws.c and in MPlayer-1.0pre4/libvo/x11_common.c It
> can produce "strange" result in fullscreen mode using the mplayer gui.
> 
> The problem is simple : i have an ati radeon and two screens, i want to
> use graphic acceleration, but it's not compatible with xinerama (with the
> ati drivers fglrx). So i use the one big screen option from fglrxconfig
> and my two screens are detected as only one with a resolution of 2048x768.
> When i use mplayer in fullscreen the video is in one screen (x11_common.c)
> and the menu is in the middle between the two screens.
> The patch try to fix it.
> 
> I hope the patch is correct and it can help you.
> 
> Philippe
> 
> PS : the video in fullscreen is always in the same screen wsOrgX and
> wsOrgY are equal to zero. Is there's a way to solve this problem ???

The attached version of that patch seems okay to me. If nobody comments 
I will apply sunday.

Greetings,
Reimar Döffinger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gui_display_size.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040611/6de79665/attachment.asc>


More information about the MPlayer-dev-eng mailing list