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/decoder.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/decoder.h') diff --git a/src/lib/decoder.h b/src/lib/decoder.h index c3b330cfb..d48df7517 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -45,7 +45,9 @@ public: boost::shared_ptr video; boost::shared_ptr audio; - boost::shared_ptr caption; + std::list > caption; + + boost::shared_ptr only_caption () const; /** Do some decoding and perhaps emit video, audio or subtitle data. * @return true if this decoder will emit no more data unless a seek() happens. -- cgit v1.2.3