summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-22 16:11:46 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-22 16:11:46 +0100
commit9f75a44df591954519ac828a1b50b6d5ebd2a3a1 (patch)
tree5cecbcf28b96ae2c6417601601f6dedaccbe835e /src/cpl.cc
parent4fcba852c8997e852715a1ccabb390e13f840969 (diff)
Support more than one closed caption asset per reel.
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index d23cd4aa..5108161c 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -185,8 +185,8 @@ CPL::reel_assets () const
if (i->main_subtitle ()) {
c.push_back (i->main_subtitle());
}
- if (i->closed_caption ()) {
- c.push_back (i->closed_caption());
+ BOOST_FOREACH (shared_ptr<ReelClosedCaptionAsset> j, i->closed_captions()) {
+ c.push_back (j);
}
if (i->atmos ()) {
c.push_back (i->atmos());