Speed up hints tests by not running a pointless audio analysis.
[dcpomatic.git] / src / lib / hints.cc
index 46704ebf817ae8d19118efc0baba1c90837c8421..40b51e81791544e70a6bdba7d7466dcfc605d4da 100644 (file)
@@ -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 ();
        }