[MPlayer-dev-eng] [PATCH] honour screenw/screenh with xinerama on
Olivier Jolly
olivier.jolly at pcedev.com
Wed Jul 25 23:58:03 CEST 2007
Hi all,
for my first post, I'll propose directly a little patch to fix what I
think is a regression.
I already opened a bug in the bugzilla (
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=861 ) so I'll mostly copy
information from it.
When mplayer is compiled with xinerama support, the
update_xinerama_info function will override the vo_screenheight and
vo_screenwidth inconditionnaly.
When using the -screenw / -screenh to map a part of the screen to
TVout (using the nvtv tool for example), since 1.0pre8, the whole screen
was used for displaying instead of the portion of screen indicated on
command line.
I'm proposing a patch which adds 2 booleans to keep track of whether
the vo_screenheight/width variables come from the command line or by the
default values. The update_xinerama_info is then only allowed to change
those values if they haven't been set on command line.
Feel free to shout at me for crapiness of the following patch.
Regards all,
+Olivier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xinerama_override_screenwh.patch
Type: text/x-patch
Size: 2231 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070725/df892d91/attachment.bin>
More information about the MPlayer-dev-eng
mailing list