From: Luke S. <lsc...@us...> - 2006-09-08 20:26:27
|
I am getting this with slightly greater frequency on i386 debian unstable. luke On Fri, Sep 08, 2006 at 03:23:22PM -0500, Kevin M Stange wrote: > Since I've seen that we're clearly interested in keeping GStreamer, > here's the problem that I have on my amd64 laptop. I don't have this > problem on my x86 desktop. > > About one in every three to four launches of Gaim, gstreamer fails to > initialize. We call gst_init_check(NULL, NULL, error) to initialize > GStreamer and error is a GError value which can return an explanation of > the failure. The two NULLs allow for arguments to Gaim to be passed on > to GStreamer. Officially, NULL is allowed and should not cause problems. > > In GStreamer, all the function gst_init_check does is parse the options > via glib's g_option_*. If the glib option parsing is successful, > GStreamer is magically initialized. It passes the GErrror to > g_option_context_parse(). gst_init_check returns > g_option_context_parse()'s return value and passes the GError back to us. > > In effect, what is happening for me is g_option_context_parse(context, > NULL, NULL, error) is returning FALSE intermittently and it is not > setting the GError struct to contain anything. How can > g_option_context_parse() fail on empty argc and argv intermittently? > > I wrote a test program which *only* inits GStreamer and prints the > result, then exits. I don't use any other GStreamer programs so I have > no other context for testing really. This program succeeds in > initializing GStreamer 100% of the time. > > Any ideas? > > Kevin > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gaim-devel mailing list > Gai...@li... > https://lists.sourceforge.net/lists/listinfo/gaim-devel |