mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +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();
|
sb.AppendLine();
|
||||||
|
|
||||||
var currentVideoPlayer = Configuration.Settings.General.VideoPlayer;
|
var currentVideoPlayer = Configuration.Settings.General.VideoPlayer;
|
||||||
|
|
||||||
var isLibMpvInstalled = LibMpvDynamic.IsInstalled;
|
var isLibMpvInstalled = LibMpvDynamic.IsInstalled;
|
||||||
if (currentVideoPlayer == "MPV" && !isLibMpvInstalled)
|
if (currentVideoPlayer == "MPV" && !isLibMpvInstalled)
|
||||||
{
|
{
|
||||||
currentVideoPlayer = "DirectShow";
|
currentVideoPlayer = "DirectShow";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (currentVideoPlayer == "VLC" && !LibVlcDynamic.IsInstalled)
|
||||||
|
{
|
||||||
|
currentVideoPlayer = "DirectShow";
|
||||||
|
}
|
||||||
|
|
||||||
if (Configuration.IsRunningOnLinux)
|
if (Configuration.IsRunningOnLinux)
|
||||||
{
|
{
|
||||||
sb.AppendLine("Try installing latest version of libmpv and libvlc!");
|
sb.AppendLine("Try installing latest version of libmpv and libvlc!");
|
||||||
|
Loading…
Reference in New Issue
Block a user