[MPlayer-users] [bugreport] xvidix + panscan = pink
Bram Verweij
verweij at core.ucl.ac.be
Wed Oct 9 22:29:02 CEST 2002
Hi,
First of all: thanks, MPlayer team, for the best player in the world.
I really appreciate it.
Now, for the bug report:
Although panscan is supposed to be supported by vidix drivers according
to the DOCS, all I get is a pink screen. It does work for me with the
Xv driver.
Here's the bug:
On line 73 of libvo/vo_xvidix.c, drwcX is declared as uint32_t; which
is an unsigned type. On line 106, drwcX is assigned the value of drwX,
which is 0 by line 84. On line 142, a positive value is subtracted,
causing drwcX to wrap around and become a huge positive integer. This
huge positive integer is then passed to the vidix driver in line 164.
As a result, the driver is told to display the left side of the image
to the right of the right side. Hence the pink screen.
Nick Kushev has a version of panscan working in MPlayerXP. This is what
Nick did:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mplayerxp/mplayerxp/mplayerxp/libvo/video_out.c.diff?r1=1.24&r2=1.25
To summarize Nicks solution, (i) Nick decreases image_width and
window_width variables in config, and (ii) he uses some kind of
software scaling to centralize the image (if I understand it correctly).
Part (i) is pretty easy to apply to MPlayer; part (ii) might be if the
software scaler of MPlayer can be used.
Could someone who is more knowledgeable about the use of the software
scalar then I am have a look at this?
Bram Verweij
---
I have:
RedHat 7.3
Linux thelonious.dnsalias.com 2.4.19 #2 Thu Aug 8 17:59:50 UTC 2002 i586 unknown
-rwxr-xr-x 2 root root 1344152 Sep 9 14:02 /lib/libc-2.2.5.so
lrwxrwxrwx 1 root root 13 Oct 5 11:24 /lib/libc.so.6 -> libc-2.2.5.so
Free86 Version 4.2.0 (Custom Build: 4.2.0-8) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.19 i586 [ELF]
Build Host: thelonious.dnsalias.com
Module Loader present
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.1/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
Thread model: posix
gcc version 3.1 20020604 (Red Hat Linux 7.3 3.1-5)
GNU ld version 2.11.93.0.2 20020207
GNU assembler 2.11.93.0.2 20020207
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-redhat-linux'.
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 501.126
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow k6_mtrr
bogomips : 999.42
(--) R128(0): Chipset: "ATI Rage 128 Pro PF (AGP)" (ChipID = 0x5046)
r128.o & r128_vid.o drivers from GATOS;
Oct 8 23:23:41 thelonious kernel: [drm] Initialized r128 2.2.0 20010917 on minor 0
SoundBlaster PCI 128
More information about the MPlayer-users
mailing list