mpv.net icon indicating copy to clipboard operation
mpv.net copied to clipboard

FileTypes.cs will there be no performance issues?

Open vvyoko opened this issue 1 year ago • 0 comments

https://github.com/mpvnet-player/mpv.net/blob/ace7566c2a788b186c3ac93800261b6d43869f8c/src/MpvNet/FileTypes.cs#L20

Do each file have to get an array from libmpv to judge again?

Shouldn't we cache one array after another? This value will not update during playback

Just like the previous version Then handling the new options like video-exts by ProcessProperty?

https://github.com/mpvnet-player/mpv.net/blob/ace7566c2a788b186c3ac93800261b6d43869f8c/src/MpvNet/App.cs#L130

vvyoko avatar Dec 03 '24 06:12 vvyoko