[MPlayer-dev-eng] [PATCH] make vo_directx honor -screenw/-screenh

Joey Parrish joey at nicewarrior.org
Wed Aug 23 21:32:43 CEST 2006


Hello,

Attached is a simple patch to make vo_directx honor the
-screenw/-screenh options.  I require this because my new dual-head
display isn't treated like one on win2k.  If I had XP, I'd have two
logical displays and I'd use -adapter.  However, the win2k version of my
video driver just calls my display mode "2048x768".  So video is all
at the wrong aspect and fullscreen takes up both screens.  With this
patch and "screenw=1024" in my config file, all is as it should be.
The second hunk fixes windowed mode, but the first hunk is also required
to get fullscreen to stay on only one display.

--Joey

-- 
"There are trivial truths and there are great truths.  The opposite of a
trivial truth is plainly false.  The opposite of a great truth is also 
true."
   --Neils Bohr

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 22.screen.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060823/7ede8827/attachment.txt>


More information about the MPlayer-dev-eng mailing list