summaryrefslogtreecommitdiff
path: root/packages/gstreamer/files/try-esdsink.patch
blob: 9c6242663c9b9e79b31106aee492be0289c0c241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- gst-plugins-0.8.1/gst-libs/gst/gconf/gconf.c~	2004-08-17 17:55:46.000000000 +0100
+++ gst-plugins-0.8.1/gst-libs/gst/gconf/gconf.c	2004-08-17 18:04:00.000000000 +0100
@@ -204,10 +204,16 @@
   if (!ret) {
     ret = gst_element_factory_make ("osssink", NULL);
 
-    if (!ret)
-      g_warning ("No GConf default audio sink key and osssink doesn't work");
-    else
+    if (!ret) {
+      ret = gst_element_factory_make ("esdsink", NULL);
+
+      if (!ret)
+        g_warning ("No GConf default audio sink key and osssink & esdsink don't work");
+      else
+        g_print ("GConf audio sink and osssink not found, using esdsink\n");
+    } else {
       g_print ("GConf audio sink not found, using osssink\n");
+    }
   }
 
   return ret;