CDG/Codacy

This commit is contained in:
Nikolaj Olsson 2020-10-03 09:23:00 +02:00
parent c573d292ed
commit 4f029f787e
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ namespace Nikse.SubtitleEdit.Core.CDG
public delegate void CdgToImageSubtitleCallback(int currentNumber, int totalUnique);
public int MergeGapSmallerThanXMilliseconds { get; set; } = 999;
public int SmallGapMilliseconds { get; set; } = 0;
public int SmallGapMilliseconds { get; set; }
public int SkipPacketCount { get; set; } = 20;
public List<NikseBitmap> MakeImageList(CdgGraphics cdgGraphics, Subtitle subtitle, CdgToImageSubtitleCallback callback)

View File

@ -61,7 +61,7 @@ namespace Nikse.SubtitleEdit.Forms
using (var exportBdnXmlPng = new ExportPngXml())
{
var old = Configuration.Settings.Tools.ExportBluRayRemoveSmallGaps;
Configuration.Settings.Tools.ExportBluRayRemoveSmallGaps = false; //true;
Configuration.Settings.Tools.ExportBluRayRemoveSmallGaps = false; // Hm, not really sure if a 'true' is needed here - seems to give a small blink once in a while!?
exportBdnXmlPng.InitializeFromVobSubOcr(_subtitle, new SubRip(), ExportPngXml.ExportFormats.BluraySup, FileName, this, "Test123");
exportBdnXmlPng.ShowDialog(this);
Configuration.Settings.Tools.ExportBluRayRemoveSmallGaps = old;