Speed up hints tests by not running a pointless audio analysis.
[dcpomatic.git] / test / hints_test.cc
index 263f02435a70a4a419718aea3209b93ec84ef6c7..c228cd07af4c6b38089c259dd9242a0b0785b20f 100644 (file)
@@ -56,6 +56,8 @@ get_hints (shared_ptr<Film> film)
 {
        current_hints.clear ();
        Hints hints (film);
+       /* None of our tests need the audio analysis, and it is quite time-consuming */
+       hints.disable_audio_analysis ();
        hints.Hint.connect (collect_hint);
        hints.start ();
        hints.join ();