From: Dennis S. <sy...@yo...> - 2004-09-03 12:28:38
|
Have you done visual_init (&argc, &argv), lists always get created in visual_init :) You can pass NULL, NULL at visual_init. if visual_init returns < 0 than there is a serious error. Try this first, if there is still a problem report back :) Cheers, Dennis On Fri, 2004-09-03 at 14:26 +0100, salsaman wrote: > Hmm, > there seems to be no way of checking whether the user has any plugins > installed or not. With no plugins: > > VisList *vislist=visual_actor_get_list(); > if (!vislist->count) printf("no plugins"); > > crashes. > > also: > > > char *name=visual_actor_get_next_by_name (NULL); > if (name==NULL) printf("no plugins"); > > > gives an assertion: > > libvisual CRITICAL: (null): visual_plugin_get_next_by_name > [(lv_plugin.c,412)]: assertion `list != NULL' failed > > > I suggest you fix this. I can't have apps crashing just because there > are no libvisual plugins installed. > > Salsaman. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Libvisual-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libvisual-devel |