From bb83ac01fcdca9095c37629ea45989ca882e7bd2 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sat, 27 Mar 2021 20:09:17 +0100 Subject: [PATCH] work on mcc --- src/libse/Cea708/VancDataWriter.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libse/Cea708/VancDataWriter.cs b/src/libse/Cea708/VancDataWriter.cs index d7a292fc5..11fe0fbb0 100644 --- a/src/libse/Cea708/VancDataWriter.cs +++ b/src/libse/Cea708/VancDataWriter.cs @@ -32,6 +32,11 @@ namespace Nikse.SubtitleEdit.Core.Cea708 { var bytes = new List(); 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 hex = ByteArrayToHexString(resultBytes); return hex;