diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-09 23:44:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-11 09:15:51 +0100 |
| commit | cd6c6a693f19fcaa6c75ed60f48a54a8cae51352 (patch) | |
| tree | 591ae7b6c988811d683ff008f8d922b1cae4e79f /src/lib/hints.cc | |
| parent | 7a34ca0a61058b0a742e7187845b2eeb0af6a24b (diff) | |
Speed up hints tests by not running a pointless audio analysis.
Diffstat (limited to 'src/lib/hints.cc')
| -rw-r--r-- | src/lib/hints.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc index 46704ebf8..40b51e817 100644 --- a/src/lib/hints.cc +++ b/src/lib/hints.cc @@ -407,7 +407,7 @@ try auto player = make_shared<Player>(film, Image::Alignment::COMPACT); player->set_ignore_video (); - if (check_loudness_done) { + if (check_loudness_done || _disable_audio_analysis) { /* We don't need to analyse audio because we already loaded a suitable analysis */ player->set_ignore_audio (); } |
