mmg: use fast mode parsing with kax_analyzer_c

This commit is contained in:
Moritz Bunkus 2014-05-18 14:34:57 +02:00
parent 6e35edac13
commit d189f9cf46
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-18 Moritz Bunkus <moritz@bunkus.org>
* mmg: enhancement: The chapter editor will only use fast-mode
parsing when loading chapters from Matroska files.
2014-05-14 Moritz Bunkus <moritz@bunkus.org>
* all: bug fix: fixed invalid memory access in the cleanup

View File

@ -594,7 +594,7 @@ tab_chapters::load(wxString name) {
if (kax_analyzer_c::probe(wxMB(name))) {
analyzer = wx_kax_analyzer_cptr(new wx_kax_analyzer_c(this, wxMB(name)));
file_name = name;
if (!analyzer->process(kax_analyzer_c::parse_mode_full, MODE_READ)) {
if (!analyzer->process(kax_analyzer_c::parse_mode_fast, MODE_READ)) {
wxMessageBox(Z("This file could not be opened or parsed."), Z("File parsing failed"), wxOK | wxCENTER | wxICON_ERROR);
analyzer.reset();