]> git.sesse.net Git - vlc/commitdiff
* auhal.c: Another workaround for devices not supporting hogmode
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 19 Jan 2006 16:10:14 +0000 (16:10 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 19 Jan 2006 16:10:14 +0000 (16:10 +0000)
modules/audio_output/auhal.c

index 74815b5943e147e049aa9ee7389f32adca819f61..0778ab77c752b151919355438216ea328123aa5c 100644 (file)
@@ -234,6 +234,7 @@ static int Open( vlc_object_t * p_this )
         /* This is not a fatal error. Some drivers simply don't support this property */
         msg_Warn( p_aout, "could not check whether device is hogged: %4.4s",
                  (char *)&err );
+        p_sys->i_hog_pid = -1;
     }
 
     if( p_sys->i_hog_pid != -1 && p_sys->i_hog_pid != getpid() )