mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix fontsize/opaque box in burn-in preview via mpv - thx David :)
This commit is contained in:
parent
a285ed6003
commit
383ddc0073
@ -1223,6 +1223,11 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (LibMpvDynamic.IsInstalled && Configuration.Settings.General.VideoPlayer == "MPV")
|
||||
{
|
||||
var temp = new Subtitle(_assaSubtitle);
|
||||
if (!_isAssa)
|
||||
{
|
||||
SetStyleForNonAssa(temp);
|
||||
}
|
||||
FixRightToLeft(temp);
|
||||
var subFileName = GetAssaFileName(_inputVideoFileName);
|
||||
FileUtil.WriteAllText(subFileName, new AdvancedSubStationAlpha().ToText(temp, null), new TextEncoding(Encoding.UTF8, "UTF8"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user