summaryrefslogtreecommitdiff
path: root/packages/gstreamer/gst-plugins/try-esdsink.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-08-14 04:17:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-14 04:17:58 +0000
commitcc49ea85bdc9b42f77b3c01f950b179e56bf8f2f (patch)
tree52286fceb404b1c8bc781e4ec1f9df234ea5efb3 /packages/gstreamer/gst-plugins/try-esdsink.patch
parent5ebbd520b6362b15c2ea019476668fa94ca01e7b (diff)
parent1acc9a0b4bbdc4eb9f7f2b7e9ab456eab3f9adcb (diff)
propagate from branch 'org.openembedded.dev' (head ff70c4efdf949524471cddabffb7d724440d81d2)
to branch 'org.openembedded.nslu2-linux' (head 7305e5331bf9bfa1cfc3616899548b90034a3ae3)
Diffstat (limited to 'packages/gstreamer/gst-plugins/try-esdsink.patch')
-rw-r--r--packages/gstreamer/gst-plugins/try-esdsink.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/gstreamer/gst-plugins/try-esdsink.patch b/packages/gstreamer/gst-plugins/try-esdsink.patch
new file mode 100644
index 0000000000..9c6242663c
--- /dev/null
+++ b/packages/gstreamer/gst-plugins/try-esdsink.patch
@@ -0,0 +1,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;