mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
work on mcc
This commit is contained in:
parent
97e5a93d2d
commit
bb83ac01fc
@ -32,6 +32,11 @@ namespace Nikse.SubtitleEdit.Core.Cea708
|
|||||||
{
|
{
|
||||||
var bytes = new List<byte>();
|
var bytes = new List<byte>();
|
||||||
var smpte291M = new Smpte291M(counter, 20, bytes.ToArray());
|
var smpte291M = new Smpte291M(counter, 20, bytes.ToArray());
|
||||||
|
smpte291M.CcDataSectionCcData.CcData[2].Valid = false;
|
||||||
|
smpte291M.CcDataSectionCcData.CcData[2].Type = 2;
|
||||||
|
smpte291M.CcDataSectionCcData.CcData[2].Data1 = 0;
|
||||||
|
smpte291M.CcDataSectionCcData.CcData[2].Data2 = 0;
|
||||||
|
smpte291M.CcDataSectionCcData.CcData[3].Valid = false;
|
||||||
var resultBytes = smpte291M.GetBytes();
|
var resultBytes = smpte291M.GetBytes();
|
||||||
var hex = ByteArrayToHexString(resultBytes);
|
var hex = ByteArrayToHexString(resultBytes);
|
||||||
return hex;
|
return hex;
|
||||||
|
Loading…
Reference in New Issue
Block a user