Changeset 49bcf08a4e65e9704566586f04a96d8b24972a1b

Show
Ignore:
Timestamp:
02/10/08 13:12:24 (7 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1202645544 +0000
git-parent:

[7503582fd1a264671b1684cc1debefd04a07aeaa]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1202645544 +0000
Message:

Cleanup.
SHM is autodetected, so there is not point in disabling it by force.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_output/x11/xcommon.c

    rb687f9e r49bcf08  
    26672667    if( config_GetInt( p_vout, MODULE_STRING "-shm" ) ) 
    26682668    { 
    2669 #   ifdef __APPLE__ 
    2670         /* FIXME: As of 2001-03-16, XFree4 for MacOS X does not support Xshm */ 
    2671 #   else 
    26722669        int major, evt, err; 
    26732670 
     
    26892686                     p_vout->p_sys->i_shm_opcode ); 
    26902687        } 
    2691  
    2692 #   endif 
    2693  
    2694         if( !p_vout->p_sys->i_shm_opcode ) 
    2695         { 
    2696             msg_Warn( p_vout, "XShm video extension is unavailable" ); 
    2697         } 
     2688        else 
     2689            msg_Warn( p_vout, "XShm video extension not available" ); 
    26982690    } 
    26992691    else 
    2700     { 
    2701         msg_Dbg( p_vout, "disabling XShm video extension" ); 
    2702     } 
    2703  
    2704 #else 
    2705     msg_Warn( p_vout, "XShm video extension is unavailable" ); 
    2706  
     2692        msg_Dbg( p_vout, "XShm video extension disabled" ); 
    27072693#endif 
    27082694