the video can not work

Jun 20, 2013 at 2:49 AM
hi, i use VLClib 2.0.7, when i run your wpf application, the video can not show but audio is normal . can you give some suggestion for me?
Jun 24, 2013 at 5:23 PM
It does work with 2.0.7 Twoflower.
You just need to go to LibVLCLibrary.cs, line 162 is where it checks for the version. I just commented out lines 162 and 163 and it works just fine.
Hope it helps.
Jul 6, 2013 at 8:30 AM
thanks for your answer, i also commented out lines 162 and 163 but the problem is keeping complie enviroment is win7 vs2010 framework4.0
Jul 6, 2013 at 6:14 PM
You're going to have step through the code and see where it is failing for you. Keep us posted about your progress.
Nov 25, 2013 at 1:18 PM
Hi, i FINALLY found a solution... :)

go to LibVLCLibrary.MediaPlayer.cs

and edit:

1) Line (265) - libvlc_video_set_callbacks_signature - add IntPtr opaque to the end method signature
2) Line (275) - replace with m_libvlc_video_set_callbacks(mp, _lock, unlock, display, mp);

Regards Jan Holubec