aboutsummaryrefslogtreecommitdiff
path: root/www/libxul19/files/patch-bug685258
diff options
context:
space:
mode:
Diffstat (limited to 'www/libxul19/files/patch-bug685258')
-rw-r--r--www/libxul19/files/patch-bug68525817
1 files changed, 17 insertions, 0 deletions
diff --git a/www/libxul19/files/patch-bug685258 b/www/libxul19/files/patch-bug685258
new file mode 100644
index 000000000000..598a6ea5f3d5
--- /dev/null
+++ b/www/libxul19/files/patch-bug685258
@@ -0,0 +1,17 @@
+# HG changeset patch
+# User Oleg Romashin <romaxa@gmail.com>
+# Parent a2291c212856ad27622416e83c8311b6a33b52f1
+Bug 685258 - Pulse audio backend does not check provided playback and crashes r=derf
+
+diff --git a/content/media/nsAudioStream.cpp b/content/media/nsAudioStream.cpp
+--- content/media/nsAudioStream.cpp
++++ content/media/nsAudioStream.cpp
+@@ -83,7 +83,7 @@ void nsAudioStream::Init(PRInt32 aNumCha
+ mChannels = aNumChannels;
+ mFormat = aFormat;
+ if (sa_stream_create_pcm(reinterpret_cast<sa_stream_t**>(&mAudioHandle),
+- NULL,
++ "Mozilla",
+ SA_MODE_WRONLY,
+ SA_PCM_FORMAT_S16_NE,
+ aRate,