Merge pull request #8616 from ivandrofly/matroska

Matroska
This commit is contained in:
Nikolaj Olsson 2024-10-18 20:38:24 +02:00 committed by GitHub
commit 30ba6afdba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -520,10 +520,10 @@ namespace Nikse.SubtitleEdit.Core.ContainerFormats.Matroska
}
}
private string GetChapterName(Element ChapterDisplay)
private string GetChapterName(Element chapterDisplay)
{
Element element;
while (_stream.Position < ChapterDisplay.EndPosition && (element = ReadElement()) != null)
while (_stream.Position < chapterDisplay.EndPosition && (element = ReadElement()) != null)
{
if (element.Id == ElementId.ChapString)
{
@ -671,11 +671,7 @@ namespace Nikse.SubtitleEdit.Core.ContainerFormats.Matroska
return _subtitleRip;
}
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
public void Dispose() => Dispose(true);
private void Dispose(bool disposing)
{
@ -686,7 +682,6 @@ namespace Nikse.SubtitleEdit.Core.ContainerFormats.Matroska
}
}
private void ReadSegmentInfoAndTracks()
{
// go to segment