Cleanup: use a namespace.
[dcpomatic.git] / src / lib / hints.h
index 81a37a3c453adb10aabfc462604b393ac3a4d2e7..b29b1c0fc49754c12d3f8fd49d84a002b3ab04a0 100644 (file)
@@ -22,7 +22,6 @@
 #include "audio_analyser.h"
 #include "signaller.h"
 #include "player_text.h"
-#include "types.h"
 #include "dcp_text_track.h"
 #include "dcpomatic_time.h"
 #include "weak_film.h"
@@ -51,6 +50,9 @@ public:
 
        /* For tests only */
        void join ();
+       void disable_audio_analysis () {
+               _disable_audio_analysis = true;
+       }
 
 private:
        friend struct hint_subtitle_too_early;
@@ -62,6 +64,7 @@ private:
        void closed_caption (PlayerText text, dcpomatic::DCPTimePeriod period);
        void open_subtitle (PlayerText text, dcpomatic::DCPTimePeriod period);
 
+       void check_certificates ();
        void check_interop ();
        void check_big_font_files ();
        void check_few_audio_channels ();
@@ -78,6 +81,7 @@ private:
        void check_ffec_and_ffmc_in_smpte_feature ();
        void check_out_of_range_markers ();
        void check_text_languages ();
+       void check_audio_language ();
 
        boost::thread _thread;
        /** This is used to make a partial DCP containing only the subtitles and closed captions that
@@ -102,4 +106,6 @@ private:
        boost::optional<dcpomatic::DCPTimePeriod> _last_subtitle;
 
        boost::atomic<bool> _stop;
+
+       bool _disable_audio_analysis = false;
 };