summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-23 16:42:28 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-23 16:42:28 +0100
commit24dcab1d4d8d7a28a939c7c4d786197684f155f6 (patch)
treecdd795a6caff66d17e35ed97fbb8b8d39f4fe9fc /src/lib/dcp_content.cc
parenta5c629cb9b638b67a0e4c2d26fe9ab2e124bf0eb (diff)
Introduce the idea of unknown original subtitle type to clean up the GUI a bit.
Diffstat (limited to 'src/lib/dcp_content.cc')
-rw-r--r--src/lib/dcp_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc
index 5371fbc11..b6a66f90a 100644
--- a/src/lib/dcp_content.cc
+++ b/src/lib/dcp_content.cc
@@ -193,7 +193,7 @@ DCPContent::examine (shared_ptr<Job> job)
_name = examiner->name ();
for (int i = 0; i < TEXT_COUNT; ++i) {
if (examiner->has_text(static_cast<TextType>(i))) {
- text.push_back (shared_ptr<TextContent>(new TextContent(this, static_cast<TextType>(i))));
+ text.push_back (shared_ptr<TextContent>(new TextContent(this, static_cast<TextType>(i), static_cast<TextType>(i))));
}
}
texts = text.size ();