[MPlayer-dev-eng] [PATCH] Fix for xv black bars, 2 other xv fixes

Tom Lees tal26 at cam.ac.uk
Sun May 5 15:48:26 CEST 2002


Hi,

Since the xv code was cleaned up to remove the drwcX etc which wasn't
used except for debug, one vital line was removed (setting drwX and drwY
to 0) which introduced the "black bars" in xv bug. I think it was only
triggered in certain window managers. I use sawfish, it was definitely
seen with that.

Other small fix #1 re-adds the fsmode 1 and fsmode 8 options and fixes
fsmode 1 so it is only engaged during fullscreen.

Other small fix #2 makes xv's initial window use the "BaseSize"
attribute so that it cannot be resized lower than the video resolution
(as xv will not shrink it, only grow so this leads to cropping). This
attribute is at present set when returning from fullscreen mode but not
when setting up to start with - this fixes that.

Tom Lees

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp_xv_fix.diff
Type: text/x-patch
Size: 2875 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020505/2f8bf002/attachment.bin>


More information about the MPlayer-dev-eng mailing list