VobSub compatibility now better with SubtitleCreator (reduced compression a bit)

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1631 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2013-02-14 19:19:13 +00:00
parent 39ac6d350f
commit 23ce62d07d

View File

@ -220,7 +220,7 @@ namespace Nikse.SubtitleEdit.Logic
lastColor = color;
count = 1;
}
else if (lastColor == color)
else if (lastColor == color && count < 64) // only allow up to 63 run-length (for SubtitleCreator compatibility)
{
count++;
}