Conversation
|
@mfkl can you look into this and share your opinion? |
|
it does not build |
|
Multi plane access is actually already possible through the use of |
mfkl
left a comment
There was a problem hiding this comment.
approach works, few changes to make before merging. If you want to add a test or sample showing its use, much welcome
|
@mfkl can you review the changes |
|
did you use an AI for this? |
| /// </param> | ||
| [UnmanagedFunctionPointer(CallingConvention.Cdecl)] | ||
| public delegate void LibVLCVideoCleanupCb(ref IntPtr opaque); | ||
| public delegate void LibVLCVideoCleanupCb(IntPtr opaque); |
There was a problem hiding this comment.
correct fix, but API break
You are right I made this change is that the native libVLC signature for the cleanup callback is void (*cleanup)(void *opaque). According to the libVLC headers, the parameter is passed as void *opaque, which maps to IntPtr in .NET rather than ref IntPtr.
https://code.videolan.org/videolan/vlc/-/blob/master/include/vlc/libvlc_media_player.h
Using ref IntPtr would correspond to void**, which doesn't match the native API.
|
did you actually test the interop works? In a sample or unit test? |
no |
984fcc8 to
909178c
Compare
No description provided.