[vlc-devel] 1.1.9 thrown assertion during libvlc_event_attach

J Decker d3ck0r at gmail.com
Mon May 30 04:08:59 CEST 2011

I'm going throw and iterating to hook to all events that I can (just
for diagnositcs mosltly)

and VLC loaded as libvlc throws

Assertion Failed
Program: ...
File: ../.././src/control/event.c
line: 362

Expression : 0


what does this mean?  I thought it was because I was starting from 0,
I changed and start from 1...

	for( n = 1; n <= libvlc_MediaStateChanged; n++ )
		vlc.libvlc_event_attach( pmyi->mpev, n, PlayerEvent, pmyi PASS_EXCEPT_PARAM );

none of the parameters are 0.

More information about the vlc-devel mailing list