[vlc-commits] oss: fix corrupt audio format (fixes #9760)
Rémi Denis-Courmont
git at videolan.org
Sat Nov 2 20:59:33 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 2 21:58:48 2013 +0200| [0697e180135c34ce2d3aba3684a0970a0420aa70] | committer: Rémi Denis-Courmont
oss: fix corrupt audio format (fixes #9760)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0697e180135c34ce2d3aba3684a0970a0420aa70
---
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