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
5 case GST_STATE_CHANGE_NULL_TO_READY:
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;
16 audiodev = g_getenv ("AUDIODEV");
17 if (audiodev == NULL) {