Video_Format returning bogus 'opaque'



So I've got a weird problem. I'm using the WPF wrapper and the Test application runs perfectly. When embedded in my own app, I sometimes get a video fail to play. Upon inspection, the problem is Video_Format (ln 210, MediaPlayer.cs) returning a value for 'opaque' which is not a valid MediaPlayer handle and thus GetMediaPlayer returns null...

Does anyone who knows this better have any explanation as to why this might be happening?

Thanks in advance


Cocoky wrote Oct 22, 2013 at 1:59 PM

I think I found the problem. There seems to be a missing parameter in the declaration of "libvlc_video_set_callbacks". I got it working after adding the parameter.