]> git.sesse.net Git - vlc/commitdiff
. Test non bloquant de l'ouverture du dsp � l'initialisation du plugin
authorStéphane Borel <stef@videolan.org>
Thu, 30 Nov 2000 20:43:16 +0000 (20:43 +0000)
committerStéphane Borel <stef@videolan.org>
Thu, 30 Nov 2000 20:43:16 +0000 (20:43 +0000)
 pour le cas o� il est utilis� par esd

plugins/dsp/dsp.c

index 78bccbf10fb75d930ea28a1fcbb9a7a08c442a5d..42591162d8d726573cdff483dd4d3030e5308846 100644 (file)
@@ -80,7 +80,7 @@ plugin_info_t * GetConfig( void )
 
     /* Test if the device can be opened */
     if ( (i_fd = open( main_GetPszVariable( AOUT_DSP_VAR, AOUT_DSP_DEFAULT ),
-                       O_WRONLY )) < 0 )
+                       O_WRONLY|O_NONBLOCK )) < 0 )
     {
         p_info->i_score = 0;
     }