X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_examiner.h;h=b51e7ae7a8e53d69cf406a05f2956599e5a22f89;hp=75ea8b68c664176d8aa6072063c272fee74e1da7;hb=458517981bbb6d8a76b2769ac824daa29c691d35;hpb=d0da1d77b1fc2f65eeab8572e5ee76bf85094dda diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index 75ea8b68c..b51e7ae7a 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -38,7 +38,7 @@ class DCPContent; class DCPExaminer : public VideoExaminer, public AudioExaminer { public: - explicit DCPExaminer (std::shared_ptr, bool tolerant); + DCPExaminer(std::shared_ptr, 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];