[vlc-commits] oss: fix corrupt audio format (fixes #9760)
Rémi Denis-Courmont
git at videolan.org
Sat Nov 2 21:01:00 CET 2013
vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 2 21:58:48 2013 +0200| [1e35d5313a3dafb30ca4ac0ceccd7e4730d7d41d] | committer: Rémi Denis-Courmont
oss: fix corrupt audio format (fixes #9760)
(cherry picked from commit 0697e180135c34ce2d3aba3684a0970a0420aa70)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=1e35d5313a3dafb30ca4ac0ceccd7e4730d7d41d
---
modules/audio_output/oss.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index 8dc4a4a..69c6b60 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -208,6 +208,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
fmt->i_original_channels =
fmt->i_physical_channels = channels;
}
+ aout_FormatPrepare (fmt);
VolumeSync (aout);
sys->starting = true;
More information about the vlc-commits
mailing list