Fixed Blu-ray composition number when writing .sup files - thx mbcd :)

This commit is contained in:
Nikolaj Olsson 2016-07-31 19:38:59 +02:00
parent bda1727577
commit e292d2e037
2 changed files with 3 additions and 2 deletions

View File

@ -263,7 +263,7 @@ namespace Nikse.SubtitleEdit.Core.BluRaySup
/// <summary>
/// Create the binary stream representation of one caption
/// </summary>
/// <param name="pic">SubPicture object containing caption info</param>
/// <param name="pic">SubPicture object containing caption info - note that first Composition Number should be 0, then 2, 4, 8, etc.</param>
/// <param name="bmp">Bitmap</param>
/// <param name="fps">Frames per second</param>
/// <param name="bottomMargin">Image bottom margin</param>

View File

@ -264,7 +264,8 @@ namespace Nikse.SubtitleEdit.Forms
EndTime = (long)param.P.EndTime.TotalMilliseconds,
Width = param.ScreenWidth,
Height = param.ScreenHeight,
IsForced = param.Forced
IsForced = param.Forced,
CompositionNumber = param.P.Number * 2
};
if (param.FullFrame)
{