[csw-users] Latest Gaim problem

ken mays maybird1776 at yahoo.com
Fri Nov 24 19:29:04 CET 2006


You can fix the code in gst/gstsound.c that
initializes gstreamer.

Read:
http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/manual/html/chapter-init.html

------------- old code --------------

#ifdef USE_GSTREAMER
        gaim_debug_info("sound", "Initializing sound
output drivers.\n");
        if ((gst_init_failed = !gst_init_check(NULL,
NULL, &error))) {
                gaim_notify_error(NULL, _("GStreamer
Failure"),
                                        _("GStreamer
failed to initialize."),
                                        error ?
error->message : "");
                if (error) {
                        g_error_free(error);
                        error = NULL;
                }
        }
#endif /* USE_GSTREAMER */
------------------------------------------------

The best way, IMHO, is to check for the gst/gst.h file
first to include in the code. Then, a basic
gst_init(argc,argv) call should work as for the else
clause. 

I see that GAIM checks for the initialization of
gstreamer but does nothing to fix the situation - just
notifies the user of the issue. 

Seems like a coding bug here.

~ Ken





 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com



More information about the users mailing list