summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-21 15:16:18 +0100
commitcbd4450197a083bf58bda510e626f73ba583cb66 (patch)
tree2be308772512539570beab36beab02bde72d6d4b /src/lib/dcp_examiner.h
parent1013175d5f6adfa0e6a7442e4c9aebb893787748 (diff)
Basics of multiple captions per content so that DCPContent can
hold subs and closed captions.
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index 0e0b3ef83..0d55d4643 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -59,8 +59,8 @@ public:
return _name;
}
- bool has_subtitles () const {
- return _has_subtitles;
+ int captions () const {
+ return _captions;
}
bool encrypted () const {
@@ -119,7 +119,7 @@ private:
bool _has_video;
/** true if this DCP has audio content (but false if it has unresolved references to audio content) */
bool _has_audio;
- bool _has_subtitles;
+ int _captions;
bool _encrypted;
bool _needs_assets;
bool _kdm_valid;