summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h5
1 files changed, 4 insertions, 1 deletions
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<VideoContent> video;
boost::shared_ptr<AudioContent> audio;
- boost::shared_ptr<CaptionContent> caption;
+ std::list<boost::shared_ptr<CaptionContent> > caption;
+
+ boost::shared_ptr<CaptionContent> only_caption () const;
+ boost::shared_ptr<CaptionContent> caption_of_original_type (CaptionType type) const;
void signal_changed (int);