summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-10 22:41:48 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-10 22:41:48 +0100
commita8af9a0b57b853b8a8cd8fa35adb3fc967d59ee7 (patch)
tree9493b374153de99bc220138361420c5abe85b16e /src/lib/dcp_examiner.h
parent8d58a7c5f4320ad5c111e336c45e44d6b51ab509 (diff)
Add has_subtitles method to SubtitleContent; tidy up timeline display a bit.
Diffstat (limited to 'src/lib/dcp_examiner.h')
-rw-r--r--src/lib/dcp_examiner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h
index 24a59dd34..5b510743b 100644
--- a/src/lib/dcp_examiner.h
+++ b/src/lib/dcp_examiner.h
@@ -43,6 +43,10 @@ public:
return _name;
}
+ bool has_subtitles () const {
+ return _has_subtitles;
+ }
+
int audio_channels () const {
return _audio_channels.get_value_or (0);
}
@@ -63,4 +67,5 @@ private:
boost::optional<int> _audio_frame_rate;
ContentTime _audio_length;
std::string _name;
+ bool _has_subtitles;
};