However, after commenting out those lines, it seems that
canberra-gtk-play hangs after playing the file and never exits.
I suspect this is probably because the bus_cb is supposed to
catch this. But, for some reason, this doesn't seem to be
working on Solaris. I'm not sure why.
Yes, the bus_cb is there mainly to catch the state-change and EOS.
Thanks for your reviewing and patch.
The attached patch seems to fix libcanberra so GStreamer works on
Solaris. With this patch it plays the file and exits when the file
is done playing.
Brian
--- libcanberra-0.8/src/gstreamer.c-orig 2008-08-30 00:54:34.477944000
-0500
+++ libcanberra-0.8/src/gstreamer.c 2008-08-30 01:03:11.619656000 -0500
@@ -230,7 +230,7 @@ static GstBusSyncReply bus_cb(GstBus *bu
/* g_debug (gst_element_state_get_name (pending)); */
if (pending == GST_STATE_NULL || pending == GST_STATE_VOID_PENDING)
- err = CA_SUCCESS;
+ return TRUE;
else
return GST_BUS_DROP;
break;
_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss