Changeset ac57e78fe7234a9d2d4451b9ecf85c4fa0e4cf8f

Show
Ignore:
Timestamp:
04/08/01 18:57:47 (7 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 986749067 +0000
git-parent:

[7371e7bda7fb8b4223bb59ae57985af071d2aa4e]

git-author:
Sam Hocevar <sam@videolan.org> 986749067 +0000
Message:
  • XVideo window now has a black background, thanks to Shane Harper.
  • Fixed a heap corruption in dvd_css.c.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r1843a61 rac57e78  
    1 vlc changelog: 
     1ChangeLog for vlc 
     2================= 
    23 
    340.2.70: 
     
    9798  * Cleaning code and a small fix to make quit work on OSX 
    9899  * Disable x11 plugin if X11 headers are not found. 
     100  * Misc fixes in the DVD input. 
     101  * Fixed CSS authentication under Linux. 
     102  * Playlist now refreshes when a file is opened. 
     103  * XVideo plugin background is now black instead of white. 
    99104 
    1001050.2.63: 
  • README

    re13aed0 rac57e78  
    5252The team 
    5353======== 
     54 
     55See the AUTHORS file for a list of the vlc authors and contributors. 
    5456 
    5557The following teachers were involved in the VideoLAN project : 
  • plugins/dvd/dvd_css.c

    r94c51c4 rac57e78  
    33 ***************************************************************************** 
    44 * Copyright (C) 1999-2001 VideoLAN 
    5  * $Id: dvd_css.c,v 1.21 2001/04/06 09:15:47 sam Exp $ 
     5 * $Id: dvd_css.c,v 1.22 2001/04/08 16:57:47 sam Exp $ 
    66 * 
    77 * Author: St�ane Borel <stef@via.ecp.fr> 
     
    7676    if( i_ret < 0 ) 
    7777    { 
     78        /* Since it's the first ioctl we try to issue, we add a notice */ 
     79        intf_ErrMsg( "css error: ioctl_ReadCopyright failed, " 
     80                     "make sure DVD ioctls were compiled in" ); 
     81 
    7882        return i_ret; 
    7983    } 
     
    126130        } 
    127131 
    128         intf_ErrMsg( "css error: AGID N/A, invalidating" ); 
     132        intf_ErrMsg( "css error: ioctl_LUSendAgid failed, invalidating" ); 
    129133 
    130134        p_css->i_agid = 0; 
     
    135139    if( i_ret == -1 ) 
    136140    { 
    137         intf_ErrMsg( "css error: could not get AGID" ); 
     141        intf_ErrMsg( "css error: ioctl_LUSendAgid failed, fatal" ); 
    138142        return -1; 
    139143    } 
     
    153157    if( ioctl_HostSendChallenge( p_css, p_buffer ) < 0 ) 
    154158    { 
    155         intf_ErrMsg( "css error: failed sending challenge to LU" ); 
     159        intf_ErrMsg( "css error: ioctl_HostSendChallenge failed" ); 
    156160        return -1; 
    157161    } 
     
    160164    if( ioctl_LUSendKey1( p_css, p_buffer ) < 0) 
    161165    { 
    162         intf_ErrMsg( "css error: failed getting key1 from LU" ); 
     166        intf_ErrMsg( "css error: ioctl_LUSendKey1 failed" ); 
    163167        return -1; 
    164168    } 
     
    193197    if( ioctl_LUSendChallenge( p_css, p_buffer ) < 0 ) 
    194198    { 
    195         intf_ErrMsg( "css error: failed getting challenge from LU" ); 
     199        intf_ErrMsg( "css error: ioctl_LUSendKeyChallenge failed" ); 
    196200        return -1; 
    197201    } 
     
    215219    if( ioctl_HostSendKey2( p_css, p_buffer ) < 0 ) 
    216220    { 
    217         intf_ErrMsg( "css error: failed sending key2 to LU" ); 
     221        intf_ErrMsg( "css error: ioctl_HostSendKey2 failed" ); 
    218222        return -1; 
    219223    } 
     
    250254    if( ioctl_ReadKey( p_css, p_buffer ) < 0 ) 
    251255    { 
    252         intf_ErrMsg( "css error: could not read Disc Key" ); 
     256        intf_ErrMsg( "css error: ioctl_ReadKey failed" ); 
    253257        return -1; 
    254258    } 
     
    281285    return -1; 
    282286 
    283 } 
    284  
    285 /***************************************************************************** 
    286  * CSSEnd : frees css structure 
    287  *****************************************************************************/ 
    288 void CSSEnd( css_t * p_css ) 
    289 { 
    290 #ifdef HAVE_CSS 
    291     free( p_css ); 
    292 #else /* HAVE_CSS */ 
    293     ; 
    294 #endif /* HAVE_CSS */ 
    295287} 
    296288 
  • plugins/dvd/input_dvd.c

    r9dde727 rac57e78  
    1111 ***************************************************************************** 
    1212 * Copyright (C) 1998-2001 VideoLAN 
    13  * $Id: input_dvd.c,v 1.39 2001/04/08 09:04:33 stef Exp $ 
     13 * $Id: input_dvd.c,v 1.40 2001/04/08 16:57:47 sam Exp $ 
    1414 * 
    1515 * Author: St�ane Borel <stef@via.ecp.fr> 
     
    891891    if( p_dvd->b_encrypted ) 
    892892    { 
    893         CSSEnd( p_dvd->p_css ); 
    894893        free( p_dvd->p_css ); 
    895894    } 
  • plugins/dvd/input_dvd.h

    r8ccd224 rac57e78  
    33 ***************************************************************************** 
    44 * Copyright (C) 1999-2001 VideoLAN 
    5  * $Id: input_dvd.h,v 1.15 2001/04/02 23:30:41 sam Exp $ 
     5 * $Id: input_dvd.h,v 1.16 2001/04/08 16:57:47 sam Exp $ 
    66 * 
    77 * Author: St�ane Borel <stef@via.ecp.fr> 
     
    7777int   CSSTest             ( int ); 
    7878int   CSSInit             ( struct css_s * ); 
    79 void  CSSEnd              ( struct css_s * ); 
    8079int   CSSGetKey           ( struct css_s * ); 
    8180int   CSSDescrambleSector ( u8 * , u8 * ); 
  • plugins/x11/vout_xvideo.c

    r646f7c4 rac57e78  
    33 ***************************************************************************** 
    44 * Copyright (C) 1998, 1999, 2000, 2001 VideoLAN 
    5  * $Id: vout_xvideo.c,v 1.3 2001/04/04 16:33:07 sam Exp $ 
     5 * $Id: vout_xvideo.c,v 1.4 2001/04/08 16:57:47 sam Exp $ 
    66 * 
    77 * Authors: Shane Harper <shanegh@optusnet.com.au> 
     
    611611    /* Prepare window attributes */ 
    612612    xwindow_attributes.backing_store = Always;       /* save the hidden part */ 
    613     xwindow_attributes.background_pixel = WhitePixel( p_vout->p_sys->p_display, 
     613    xwindow_attributes.background_pixel = BlackPixel( p_vout->p_sys->p_display, 
    614614                                                      p_vout->p_sys->i_screen ); 
    615615