Skip to content
Snippets Groups Projects
Commit 3e3e2a4a authored by Martin Finkel's avatar Martin Finkel
Browse files

mediaplayer: fix vmem cleanup callback crash

A bug was introduced in https://github.com/videolan/libvlcsharp/pull/87 which would crash the CLR
when the cleanup callback was set. The issue was that the vmem plugin does not have a Stop concept,
only closed, in which it frees up a struct containing a pointer which is used later by LVS.

So for the cleanup callback only, revert to the previous code.

Closes videolan/LibVLCSharp#339
parent b32538d3
Loading
Pipeline #257929 failed with stages
in 0 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment