internal void PlayVideo(string filePath) { if (_mpv == null) { _mpv = new MpvControl(); ShowControl(_mpv); } _mpv.Play(filePath); }
internal void PlayVideo(string filePath, bool hardwareDecoding, int volume, bool panscan) { if (_mpv == null) { _mpv = new MpvControl(); ShowControl(_mpv); } _mpv.SetVolume(volume); _mpv.Play(filePath, hardwareDecoding, panscan); }