Changeset 421866e2f073d8ff0fa0bf90477bb120b4dd5df5

Show
Ignore:
Timestamp:
07/12/04 20:02:57 (4 years ago)
Author:
Cyril Deguet <asmax@videolan.org>
git-committer:
Cyril Deguet <asmax@videolan.org> 1089655377 +0000
git-parent:

[ce1924e31356b475e85cc73cdbe1e4ccee8913ca]

git-author:
Cyril Deguet <asmax@videolan.org> 1089655377 +0000
Message:
  • all: skeleton of a coming-soon OpenGL visualization plugin, compatible
    with MilkDrop? for winamp.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • build-vlc

    r69bbdda r421866e  
    33FEATURES=" 
    44SKINS skins 
    5 SKINS2 skins2 
     5SKINS skins2 
     6FAMILIAR familiar 
    67WXWINDOWS wxwindows 
    78OPIE opie 
     
    8182WITHFFMPEGMP3LAME ffmpeg-mp3lame 
    8283WITHFFMPEGFAAC ffmpeg-faac 
     84GALAKTOS galaktos 
    8385" 
    8486PATHS=" 
     
    137139   if [ "$x" == "y" ] 
    138140   then 
    139       if [ "$1" == "WITHFFMPEGMP3LAME" ] 
    140       then  
    141          echo -n "--with-$2 " >> .cmd 
    142       else if [ "$1" == "WITHFFMPEGFAAC" ] 
     141      if [ "$1" == "WITHFFMPEGMP3LAME" ] || [ "$1" == "WITHFFMPEGFAAC" ] 
    143142      then 
    144143         echo -n "--with-$2 " >> .cmd 
    145144      else 
    146145         echo -n "--enable-$2 " >> .cmd 
    147       fi fi 
     146      fi 
    148147   else 
    149       if [ "$1" == "WITHFFMPEGMP3LAME" ] 
    150       then  
    151          echo -n "--without-$2 " >> .cmd 
    152       else if [ "$1" == "WITHFFMPEGFAAC" ] 
     148      if [ "$1" != "WITHFFMPEGMP3LAME" ] && [ "$1" != "WITHFFMPEGFAAC" ] 
    153149      then 
    154          echo -n "--without-$2 " >> .cmd 
    155       else 
    156150         echo -n "--disable-$2 " >> .cmd 
    157       fi fi 
     151      fi 
    158152   fi 
    159153   shift; shift 
  • config.in

    r69bbdda r421866e  
    1717  string 'xml2-config path' CONFIG_WITHXML2CONFIGPATH "" 
    1818fi 
     19bool 'Familiar GTK+ support' CONFIG_FAMILIAR 
    1920# TODO: --enable-pda 
    2021bool 'wxWindows support' CONFIG_WXWINDOWS 
     
    3738  string 'goom tree for static linking' CONFIG_WITHGOOMTREE "" 
    3839fi 
     40bool 'GaLaktos visualization plugin' CONFIG_GALAKTOS 
    3941bool 'SLP service discovery support' CONFIG_SLP 
    4042if [ "$CONFIG_SLP" = "y" ]; then 
  • configure.ac

    rc99d445 r421866e  
    33413341dnl 
    33423342AC_ARG_ENABLE(visual, 
    3343   [  --enable-visual          visualisation plugin (default enabled)]) 
     3343  [  --enable-visual         visualisation plugin (default enabled)]) 
    33443344if test "${enable_visual}" != "no" 
    33453345then 
    33463346    VLC_ADD_PLUGINS([visual]) 
     3347fi 
     3348 
     3349dnl 
     3350dnl OpenGL visualisation plugin 
     3351dnl 
     3352AC_ARG_ENABLE(galaktos, 
     3353  [  --enable-galaktos       OpenGL visualisation plugin (default disabled)]) 
     3354if test "${enable_galaktos}" = "yes" 
     3355then 
     3356    VLC_ADD_PLUGINS([galaktos]) 
     3357    VLC_ADD_LDFLAGS([galaktos],[-lGL -lGLU]) 
    33473358fi 
    33483359 
     
    38563867  modules/visualization/Makefile 
    38573868  modules/visualization/visual/Makefile 
     3869  modules/visualization/galaktos/Makefile 
    38583870]) 
    38593871 
  • src/audio_output/input.c

    rf8c95ff r421866e  
    123123        } 
    124124 
     125        /* Look for galaktos plugin */ 
     126        p_module = config_FindModule( VLC_OBJECT(p_aout), "galaktos" ); 
     127        if( p_module ) 
     128        { 
     129            val.psz_string = "galaktos"; text.psz_string = _("GaLaktos"); 
     130            var_Change( p_aout, "visual", VLC_VAR_ADDCHOICE, &val, &text ); 
     131        } 
     132 
    125133        if( var_Get( p_aout, "effect-list", &val ) == VLC_SUCCESS ) 
    126134        { 
     
    564572        ChangeFiltersString( p_aout, "goom", VLC_FALSE ); 
    565573        ChangeFiltersString( p_aout, "visual", VLC_FALSE ); 
     574        ChangeFiltersString( p_aout, "galaktos", VLC_FALSE ); 
    566575    } 
    567576    else 
     
    571580            ChangeFiltersString( p_aout, "visual", VLC_FALSE ); 
    572581            ChangeFiltersString( p_aout, "goom", VLC_TRUE ); 
     582            ChangeFiltersString( p_aout, "galaktos", VLC_FALSE ); 
     583        } 
     584        else if( !strcmp( "galaktos", psz_mode ) ) 
     585        { 
     586            ChangeFiltersString( p_aout, "visual", VLC_FALSE ); 
     587            ChangeFiltersString( p_aout, "goom", VLC_FALSE ); 
     588            ChangeFiltersString( p_aout, "galaktos", VLC_TRUE ); 
    573589        } 
    574590        else 
     
    580596            ChangeFiltersString( p_aout, "goom", VLC_FALSE ); 
    581597            ChangeFiltersString( p_aout, "visual", VLC_TRUE ); 
     598            ChangeFiltersString( p_aout, "galaktos", VLC_FALSE ); 
    582599        } 
    583600    }