mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 13:12:39 +01:00
Try to improve video playing error slightly
This commit is contained in:
parent
932680a87b
commit
1ec58dc2d5
@ -24,12 +24,18 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
sb.AppendLine();
|
||||
|
||||
var currentVideoPlayer = Configuration.Settings.General.VideoPlayer;
|
||||
|
||||
var isLibMpvInstalled = LibMpvDynamic.IsInstalled;
|
||||
if (currentVideoPlayer == "MPV" && !isLibMpvInstalled)
|
||||
{
|
||||
currentVideoPlayer = "DirectShow";
|
||||
}
|
||||
|
||||
if (currentVideoPlayer == "VLC" && !LibVlcDynamic.IsInstalled)
|
||||
{
|
||||
currentVideoPlayer = "DirectShow";
|
||||
}
|
||||
|
||||
if (Configuration.IsRunningOnLinux)
|
||||
{
|
||||
sb.AppendLine("Try installing latest version of libmpv and libvlc!");
|
||||
|
Loading…
Reference in New Issue
Block a user