]> git.sesse.net Git - vlc/commitdiff
* Hopefully fix a52 over spdif with alsa (at least, there is no error anymore)
authorBenjamin Pracht <bigben@videolan.org>
Sun, 27 Nov 2005 23:28:55 +0000 (23:28 +0000)
committerBenjamin Pracht <bigben@videolan.org>
Sun, 27 Nov 2005 23:28:55 +0000 (23:28 +0000)
* If anybody has the appropriate hardware, PLEASE test

(this is broken in 0.8.4, do we make a 0.8.4a for linux, along with the hal fixes ?)

modules/audio_output/alsa.c

index 6081cf9c20d42fe7e2ba5affca45b85676c8b553..4ebcdf3f0712acd35b9031088890d29f85ec8ba3 100644 (file)
@@ -407,7 +407,7 @@ static int Open( vlc_object_t *p_this )
     {
         p_aout->output.output.i_physical_channels = AOUT_CHAN_CENTER;
     }
-    else
+    else if( val.i_int != AOUT_VAR_SPDIF )
     {
         /* This should not happen ! */
         msg_Err( p_aout, "internal: can't find audio-device (%i)", val.i_int );