[MPlayer-users] [bugreport] xvidix + panscan = pink

Diego Biurrun diego at biurrun.de
Wed Oct 9 23:38:02 CEST 2002


Hi!

This belongs to mplayer-dev-eng, where all the developers are listening.
Maybe you should make a patch out of this and send it there,
DOCS/tech/patches.txt explains how.

Diego

On Wed, Oct 09, 2002 at 10:00:14PM +0200, Bram Verweij wrote:
> 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?




More information about the MPlayer-users mailing list