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

OpenChrome Trac trac
Thu Aug 20 02:34:44 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:  261     
Blockedby:          |  
--------------------+-------------------------------------------------------

Comment(by andy):

 In via_mode.c, the "PanelSizeString" array is defined with
 a wrong size.

 svn diff via_mode.c
 {{{
 --- src/via_mode.c      (revision 776)
 +++ src/via_mode.c      (working copy)
 @@ -540,7 +540,7 @@
      vgaHWPtr hwp = VGAHWPTR(pScrn);
      VIAPtr pVia = VIAPTR(pScrn);
      VIABIOSInfoPtr pBIOSInfo = pVia->pBIOSInfo;
 -    char *PanelSizeString[7] = { "640x480", "800x480", "800x600",
 "1024x768", "1280x768"
 +    char *PanelSizeString[8] = { "640x480", "800x480", "800x600",
 "1024x768", "1280x768"
                                   "1280x1024", "1400x1050", "1600x1200" };
      int width = 0;
      int height = 0;
 }}}

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



More information about the Openchrome-users mailing list