Use callback in libvlc_video_set_callbacks

Mar 20, 2014 at 4:08 AM
How should look like libvlc_video_lock_cb callback in libvlc_video_set_callbacks?
In C + + I would do:
unsigned char * pixels;
...
void *lock( void *data, void **p_pixels )
{
*p_pixels = pixels;
return NULL;
}

but in LibVLC.NET this callback function must return IntPtr, but IntPtr can not take null and IntPtr.Zero is not a null
Mar 20, 2014 at 5:53 AM
没懂你的意思
Mar 25, 2014 at 4:53 AM
I need to output stream in memory rather than on control. How i can do this?