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

Philippe Dumont dumont at lifl.fr
Mon May 3 10:11:27 CEST 2004


Hello,

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 ???
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040503/6c262421/attachment.txt>


More information about the MPlayer-users mailing list