[vlc-devel] 1.1.9 thrown assertion during libvlc_event_attach

J Decker d3ck0r at gmail.com
Wed Jun 1 04:32:04 CEST 2011


Is this assertion really something that should pop up a dialog?
Shouldn't it just be forgiving like before an allow non assignment of
events that aren't actually registered?

On Sun, May 29, 2011 at 7:08 PM, J Decker <d3ck0r at gmail.com> wrote:
> 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