Cleanup: remove unnecessary explicit.
[dcpomatic.git] / src / lib / dcp_examiner.h
index 75ea8b68c664176d8aa6072063c272fee74e1da7..b51e7ae7a8e53d69cf406a05f2956599e5a22f89 100644 (file)
@@ -38,7 +38,7 @@ class DCPContent;
 class DCPExaminer : public VideoExaminer, public AudioExaminer
 {
 public:
-       explicit DCPExaminer (std::shared_ptr<const DCPContent>, bool tolerant);
+       DCPExaminer(std::shared_ptr<const DCPContent>, bool tolerant);
 
        bool has_video () const override {
                return _has_video;
@@ -103,7 +103,9 @@ public:
        }
 
        /** @param type TEXT_OPEN_SUBTITLE or TEXT_CLOSED_CAPTION.
-        *  @return Number of assets of this type in this DCP.
+        *  @return the number of "streams" of this type in the DCP.
+        *  Reels do not affect the return value of this method: if a DCP
+        *  has any subtitles, type=TEXT_OPEN_SUBTITLE will return 1.
         */
        int text_count (TextType type) const {
                return _text_count[type];