[vlc-devel] [PATCH 2/3] Add an abort function to the Mac interface hack, remove extra thread
Rémi Denis-Courmont
remi at remlab.net
Sat Jul 31 18:57:33 CEST 2010
Le samedi 31 juillet 2010 18:47:32 Juho Vähä-Herttua, vous avez écrit :
> + libvlc_SetExitHandler( p_intf->p_libvlc,
> + (void (*) (void *)) p_intf->pf_abort,
> + (void *) p_intf );
This is really no better than calling libvlc_SetExitHandler() directly in the
interface. It's just more complicated. The limitations are the same either
(which is to say, libvlc_add_intf() and libvlc_set_exit_handler() will break,
but there's no way around that).
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list