← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 372469] Re: [KM400]XV video crashes player on Jaunty (VIA KM400/KN400/P4M800, S3 UniChrome)

 

The problem is present for the first time in the release r594.
The problem exists because in "via_video.c" , line 377 and 378, the value of :
pBIOSInfo->Panel->NativeMode->Width and
pBIOSInfo->Panel->NativeMode->Height
is zero.

The patch below fix the problem.

svn diff src/via_video.c 
Index: src/via_video.c
===================================================================
--- src/via_video.c     (revision 759)
+++ src/via_video.c     (working copy)
@@ -374,8 +374,8 @@
                 refresh = 60;
         } else {
             if (pBIOSInfo->Panel->IsActive) {
-                width = pBIOSInfo->Panel->NativeMode->Width;
-                height = pBIOSInfo->Panel->NativeMode->Height;
+                width = pBIOSInfo->panelX;
+                height = pBIOSInfo->panelY;
                 if ((width == 1400) && (height == 1050)) {
                     width = 1280;
                     height = 1024;

-- 
[KM400]XV video crashes player on Jaunty (VIA KM400/KN400/P4M800, S3 UniChrome)
https://bugs.launchpad.net/bugs/372469
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-openchrome in ubuntu.