[Openchrome-users] [openChrome] #301: XV video crashes player on Jaunty (VIA KM400/KN400/P4M800, S3 UniChrome)

OpenChrome Trac trac
Tue Jul 28 12:30:36 PDT 2009


#301: XV video crashes player on Jaunty (VIA KM400/KN400/P4M800, S3 UniChrome)
--------------------+-------------------------------------------------------
 Reporter:  GuruX   |        Owner:  somebody
     Type:  defect  |       Status:  new     
 Priority:  major   |    Component:  xv      
  Version:  trunk   |   Resolution:          
 Keywords:          |     Blocking:          
Blockedby:          |  
--------------------+-------------------------------------------------------

Comment(by andy):

 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.

 {{{
 #!c
 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;
 }}}

-- 
Ticket URL: <http://www.openchrome.org/trac/ticket/301#comment:10>
openChrome <http://www.openchrome.org/>
The openChrome project



More information about the Openchrome-users mailing list