summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index 0d55d4643..16385e07a 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -59,10 +59,6 @@ public:
return _name;
}
- int captions () const {
- return _captions;
- }
-
bool encrypted () const {
return _encrypted;
}
@@ -87,6 +83,10 @@ public:
return _audio_frame_rate.get_value_or (48000);
}
+ bool has_caption (CaptionType type) const {
+ return _has_caption[type];
+ }
+
bool kdm_valid () const {
return _kdm_valid;
}
@@ -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;
- int _captions;
+ bool _has_caption[CAPTION_COUNT];
bool _encrypted;
bool _needs_assets;
bool _kdm_valid;