hudec117 / Mpv.NET-lib-

.NET embeddable video/media player based on mpv for WinForms and WPF
MIT License
138 stars 36 forks source link

Memory usage #20

Open sakalukc opened 4 years ago

sakalukc commented 4 years ago

Using version 1.1.1 with C# Visual Studio 2017.

I have doing some testing with this library to view an rtsp feed, and it all works great. But memory just keeps creeping with a simple rtsp feed.

Here is my code simplified:

MpvPlayer player = new MpvPlayer(Panel.Handle) { Loop = true; } player.Load("rtsp feed url"); player.Resume();

Thats essentially it. The memory usage creeps up about 5K every couple seconds. I am not sure if this is as designed or if there is something I can do about it, or if there is something in the library that is causing it.