Mercurial > mplayer.hg
diff mplayer.c @ 3194:1648d11fc36c
commandline configuration of audio plugins now through struct, format conversion plugin added
author | anders |
---|---|
date | Thu, 29 Nov 2001 12:44:06 +0000 |
parents | d53f70e3c794 |
children | 039a973b3dda |
line wrap: on
line diff
--- a/mplayer.c Thu Nov 29 01:18:05 2001 +0000 +++ b/mplayer.c Thu Nov 29 12:44:06 2001 +0000 @@ -46,6 +46,7 @@ #endif #include "libao2/audio_out.h" +#include "libao2/audio_plugin.h" #include "libmpeg2/mpeg2.h" #include "libmpeg2/mpeg2_internal.h" @@ -218,7 +219,6 @@ // screen info: char* video_driver=NULL; //"mga"; // default char* audio_driver=NULL; -char* audio_plugins=NULL; static int fullscreen=0; static int vidmode=0; static int softzoom=0; @@ -763,12 +763,11 @@ exit_player(MSGTR_Exit_error); } /* Initailize audio plugin interface if used */ - if(audio_plugins){ + if(ao_plugin_cfg.plugin_list){ for (i=0; audio_out_drivers[i] != NULL; i++){ const ao_info_t *info = audio_out_drivers[i]->info; if(strcmp(info->short_name,"plugin") == 0){ audio_out_drivers[i]->control(AOCONTROL_SET_PLUGIN_DRIVER,(int)audio_out); - audio_out_drivers[i]->control(AOCONTROL_SET_PLUGIN_LIST,(int)audio_plugins); audio_out = audio_out_drivers[i]; break; }