From cbd4450197a083bf58bda510e626f73ba583cb66 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 21 Jul 2018 15:16:18 +0100 Subject: Basics of multiple captions per content so that DCPContent can hold subs and closed captions. --- src/lib/content.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/content.h') diff --git a/src/lib/content.h b/src/lib/content.h index 1e594e136..2a249011a 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -181,7 +181,10 @@ public: boost::shared_ptr video; boost::shared_ptr audio; - boost::shared_ptr caption; + std::list > caption; + + boost::shared_ptr only_caption () const; + boost::shared_ptr caption_of_original_type (CaptionType type) const; void signal_changed (int); -- cgit v1.2.3