From eae7333e2a23efee97a3f67fd27eb449f8f46c80 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 1 Oct 2025 23:10:07 +0200 Subject: Add main caption and closed subtitle assets to lists. --- src/cpl.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/cpl.cc b/src/cpl.cc index 695192fe..9dfff888 100644 --- a/src/cpl.cc +++ b/src/cpl.cc @@ -630,6 +630,12 @@ add_file_assets(vector>& assets, vector> reels) if (i->main_subtitle()) { assets.push_back(i->main_subtitle()); } + if (i->main_caption()) { + assets.push_back(i->main_caption()); + } + for (auto j: i->closed_subtitles()) { + assets.push_back(j); + } for (auto j: i->closed_captions()) { assets.push_back(j); } -- cgit v1.2.3