Memory leak when using MemoryStream in libvlcsharp
I'm facing a memory leak when using MemoryStream as a source of video data. I've create a simple tester app VlcMemoryLeak.zip to explore it a little. What I did is I started video playback with "MemoryStream" button and pressed "Dispose" after a while. I performed this cycle three times. And I captured memory profile. You can see how memory consumption changed. And after each cycle it grew. I also explored differences in allocated objects after the test cycle and it appeared that StreamMediaInput object holds three refs to MemoryStream objects I also tried with FileStream and just supplying filepath to MediaPlayer - no memory leak in this case.
This issue is a possible duplicate of vlc#26323