[vlc-commits] OSS: fix S/PDIF (untested)
Rémi Denis-Courmont
git at videolan.org
Sun Jul 22 17:52:22 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 22 18:52:09 2012 +0300| [cdc0b155a7797a8372cd097a44aac0ae94f1a0e6] | committer: Rémi Denis-Courmont
OSS: fix S/PDIF (untested)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdc0b155a7797a8372cd097a44aac0ae94f1a0e6
---
modules/audio_output/oss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index 2dd0b5e..55642c0 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -214,7 +214,6 @@ static int Open (vlc_object_t *obj)
/* Setup audio_output_t */
aout->format.i_format = fourcc;
- aout->format.i_rate = rate;
aout->pf_play = Play;
aout->pf_pause = Pause;
aout->pf_flush = Flush;
@@ -228,6 +227,7 @@ static int Open (vlc_object_t *obj)
}
else
{
+ aout->format.i_rate = rate;
aout->format.i_original_channels =
aout->format.i_physical_channels = channels;
More information about the vlc-commits
mailing list