diff options
Diffstat (limited to 'Gui/interface.c')
-rw-r--r-- | Gui/interface.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Gui/interface.c b/Gui/interface.c index 9c62c28388..e8cb0f939c 100644 --- a/Gui/interface.c +++ b/Gui/interface.c @@ -702,7 +702,14 @@ int guiGetEvent( int type,char * arg ) gaddlist( &audio_driver_list,tmp ); } #endif - +#ifdef HAVE_SDL + if ( audio_driver_list && !gstrncmp( audio_driver_list[0],"sdl",3 ) && gtkAOSDLDriver ) + { + char * tmp = calloc( 1,strlen( gtkAOSDLDriver ) + 10 ); + sprintf( tmp,"sdl:%s",gtkAOSDLDriver ); + gaddlist( &audio_driver_list,tmp ); + } +#endif // -- subtitle #ifdef USE_SUB sub_name=gstrdup( guiIntfStruct.Subtitlename ); |