Re: mga_vid scaling image _down_ ?

Attila Kinali <[email protected]> Mon, 7 Mar 2005 09:35:22 +0100
Newsgroups gmane.comp.video.mplayer.user.matrox
Message-ID <[email protected]>
On Mon, 7 Mar 2005 19:29:18 +1100
Peter Zelezny <[email protected]> wrote:

 
> For example, I want to display a 1440x1088 stream on a 1280x1024
> monitor, but the current version only gives up.
> 
> VO: [xmga] 1440x1088 => 1934x1088 Planar YV12 
> Error in mga_vid_config ioctl(): Bad address
> Your mga_vid driver version is incompatible with this MPlayer version!

Yes, your video resolution is too big.
You would have seen that, if you had checked dmesg.

Anyways, there is a check for res >1024*768 in mga_vid
line 703:

if(card->config.frame_size==0 || card->config.frame_size >1024*768*2)

Change that to something that fits you, but be aware
that i did _not_ check whether there is code that depends on
this maximal frame size.
So, don't blame me if you your machine crashes or
your card gets burned.


				Attila Kinali

-- 
郷に入れば郷に従え