]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gstreamer/gst-plugins/try-esdsink.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gstreamer / gst-plugins / try-esdsink.patch
1 --- gst-plugins-0.8.1/gst-libs/gst/gconf/gconf.c~       2004-08-17 17:55:46.000000000 +0100
2 +++ gst-plugins-0.8.1/gst-libs/gst/gconf/gconf.c        2004-08-17 18:04:00.000000000 +0100
3 @@ -204,10 +204,16 @@
4    if (!ret) {
5      ret = gst_element_factory_make ("osssink", NULL);
6  
7 -    if (!ret)
8 -      g_warning ("No GConf default audio sink key and osssink doesn't work");
9 -    else
10 +    if (!ret) {
11 +      ret = gst_element_factory_make ("esdsink", NULL);
12 +
13 +      if (!ret)
14 +        g_warning ("No GConf default audio sink key and osssink & esdsink don't work");
15 +      else
16 +        g_print ("GConf audio sink and osssink not found, using esdsink\n");
17 +    } else {
18        g_print ("GConf audio sink not found, using osssink\n");
19 +    }
20    }
21  
22    return ret;