mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Try to fix ASSA RTL MPV issue - thx OmrSi :)
Fix #5315 + Fix #5316 (hopefully)
This commit is contained in:
parent
e6e1a50d3f
commit
17f7368176
@ -469,14 +469,14 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
}
|
||||
else
|
||||
{
|
||||
if (subtitle.Header == null || subtitle.Header.Contains("[V4 Styles]"))
|
||||
{
|
||||
subtitle = new Subtitle(subtitle, false);
|
||||
subtitle.Header = AdvancedSubStationAlpha.GetHeaderAndStylesFromSubStationAlpha(subtitle.Header);
|
||||
}
|
||||
|
||||
if (subtitle.Header == null || !subtitle.Header.Contains("[V4+ Styles]"))
|
||||
{
|
||||
if (subtitle.Header != null && subtitle.Header.Contains("[V4 Styles]"))
|
||||
{
|
||||
subtitle = new Subtitle(subtitle, false);
|
||||
subtitle.Header = AdvancedSubStationAlpha.GetHeaderAndStylesFromSubStationAlpha(subtitle.Header);
|
||||
}
|
||||
|
||||
var oldSub = subtitle;
|
||||
subtitle = new Subtitle(subtitle);
|
||||
if (TextBox.RightToLeft == RightToLeft.Yes && LanguageAutoDetect.CouldBeRightToLeftLanguage(subtitle))
|
||||
|
Loading…
Reference in New Issue
Block a user