librewolf: update to 134.0-1
[oi-userland.git] / components / multimedia / gst-plugins-good / patches / 06-sunaudiomixer.patch
blob3e8316e2804e4a6b27c46e993799dcfc50773e1f
1 diff -ur gst-plugins-good-0.10.16-old/sys/sunaudio/gstsunaudiomixer.c gst-plugins-good-0.10.16/sys/sunaudio/gstsunaudiomixer.c
2 --- gst-plugins-good-0.10.16-old/sys/sunaudio/gstsunaudiomixer.c 2009-08-11 06:15:55.000000000 +0800
3 +++ gst-plugins-good-0.10.16/sys/sunaudio/gstsunaudiomixer.c 2009-09-03 15:17:21.106331729 +0800
4 @@ -79,6 +79,13 @@
5 case GST_STATE_CHANGE_NULL_TO_READY:
6 if (!this->mixer) {
7 const char *audiodev;
8 + const char *utaudiodev;
10 + utaudiodev = g_getenv ("UTAUDIODEV");
11 + if (utaudiodev == NULL) {
12 + //We are not on a Sun Ray, use OSS v4
13 + return GST_STATE_CHANGE_FAILURE;
14 + }
16 audiodev = g_getenv ("AUDIODEV");
17 if (audiodev == NULL) {