aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/files
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-02 20:20:53 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-02 20:20:53 +0000
commit6b05da6143a239c515b53e945fa5dfa35ecb2371 (patch)
treeff49d375f5872aca91131dd3040cbc12421fd554 /multimedia/vlc/files
parentc906e171d95040fe50a5dca58c48b33429c93ff3 (diff)
downloadports-6b05da6143a239c515b53e945fa5dfa35ecb2371.tar.gz
ports-6b05da6143a239c515b53e945fa5dfa35ecb2371.zip
Notes
Diffstat (limited to 'multimedia/vlc/files')
-rw-r--r--multimedia/vlc/files/patch-oss21
1 files changed, 21 insertions, 0 deletions
diff --git a/multimedia/vlc/files/patch-oss b/multimedia/vlc/files/patch-oss
new file mode 100644
index 000000000000..3ba21f58d409
--- /dev/null
+++ b/multimedia/vlc/files/patch-oss
@@ -0,0 +1,21 @@
+From 0697e180135c34ce2d3aba3684a0970a0420aa70 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
+Date: Sat, 2 Nov 2013 21:58:48 +0200
+Subject: [PATCH] oss: fix corrupt audio format (fixes #9760)
+
+---
+ modules/audio_output/oss.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git modules/audio_output/oss.c modules/audio_output/oss.c
+index 8dc4a4a..69c6b60 100644
+--- modules/audio_output/oss.c
++++ 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;