mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Fixed Blu-ray composition number when writing .sup files - thx mbcd :)
This commit is contained in:
parent
bda1727577
commit
e292d2e037
@ -263,7 +263,7 @@ namespace Nikse.SubtitleEdit.Core.BluRaySup
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Create the binary stream representation of one caption
|
/// Create the binary stream representation of one caption
|
||||||
/// </summary>
|
/// </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="bmp">Bitmap</param>
|
||||||
/// <param name="fps">Frames per second</param>
|
/// <param name="fps">Frames per second</param>
|
||||||
/// <param name="bottomMargin">Image bottom margin</param>
|
/// <param name="bottomMargin">Image bottom margin</param>
|
||||||
|
@ -264,7 +264,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
EndTime = (long)param.P.EndTime.TotalMilliseconds,
|
EndTime = (long)param.P.EndTime.TotalMilliseconds,
|
||||||
Width = param.ScreenWidth,
|
Width = param.ScreenWidth,
|
||||||
Height = param.ScreenHeight,
|
Height = param.ScreenHeight,
|
||||||
IsForced = param.Forced
|
IsForced = param.Forced,
|
||||||
|
CompositionNumber = param.P.Number * 2
|
||||||
};
|
};
|
||||||
if (param.FullFrame)
|
if (param.FullFrame)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user