mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-08 11:11:51 +00:00
Matroska reader: disable deep scanning unless requested
Seems like popular tools like Haali's writer (which is used by e.g. x264) don't write seek heads resulting in very long scan times for big files. Therefore disable deep scans for the time being until a quicker solution is found.
This commit is contained in:
parent
58a35037a6
commit
1c28c9b93c
@ -1205,6 +1205,9 @@ kax_reader_c::read_headers() {
|
||||
|
||||
void
|
||||
kax_reader_c::find_level1_elements_via_analyzer() {
|
||||
if (!debugging_c::requested("kax_reader_deep_scan"))
|
||||
return;
|
||||
|
||||
try {
|
||||
auto analyzer = std::make_shared<kax_analyzer_c>(m_in.get());
|
||||
auto ok = analyzer->process(kax_analyzer_c::parse_mode_fast, MODE_READ, true);
|
||||
|
Loading…
Reference in New Issue
Block a user