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

Philippe.Dumont Philippe.Dumont at lifl.fr
Wed May 5 10:38:24 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-dev-eng/attachments/20040505/c2ac59c0/attachment.txt>


More information about the MPlayer-dev-eng mailing list