mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Minor refact
This commit is contained in:
parent
28973dc293
commit
c432ce1c7c
@ -550,7 +550,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers
|
||||
}
|
||||
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("keep-open"), GetUtf8Bytes("always")); // don't auto close video
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("no-sub"), GetUtf8Bytes("")); // don't load subtitles (does not seem to work anymore)
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("no-sub"), GetUtf8Bytes(string.Empty)); // don't load subtitles (does not seem to work anymore)
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes("sid"), GetUtf8Bytes("no")); // don't load subtitles
|
||||
|
||||
if (videoFileName.StartsWith("http://", StringComparison.OrdinalIgnoreCase) ||
|
||||
@ -573,7 +573,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers
|
||||
}
|
||||
else
|
||||
{
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes(option), GetUtf8Bytes(""));
|
||||
_mpvSetOptionString(_mpvHandle, GetUtf8Bytes(option), GetUtf8Bytes(string.Empty));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user