Add has_subtitles method to SubtitleContent; tidy up timeline display a bit.
[dcpomatic.git] / src / lib / dcp_examiner.h
index 24a59dd342ebcbdd9bd4b142f7a9e6eddc8946fc..5b510743b73c8ce8ba2a876c84e8fe5ae4d71b11 100644 (file)
@@ -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;
 };