summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-18 01:31:30 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-20 23:47:03 +0100
commit84a0d8a228f36f95ac265bac163c8e3f02dc1fd0 (patch)
treeed7a3bf3a9d0806ddb3a9ea6196230dfeaa1679e /src/lib/dcp_subtitle_content.cc
parent7ec57dea9d77070244c411c354623cfb5bac09ca (diff)
Remove subtitle language from text content.
Diffstat (limited to 'src/lib/dcp_subtitle_content.cc')
-rw-r--r--src/lib/dcp_subtitle_content.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc
index f8d12d4e4..43936314b 100644
--- a/src/lib/dcp_subtitle_content.cc
+++ b/src/lib/dcp_subtitle_content.cc
@@ -69,12 +69,6 @@ DCPSubtitleContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
/* Default to turning these subtitles on */
only_text()->set_use (true);
- if (iop) {
- only_text()->set_language (iop->language ());
- } else if (smpte) {
- only_text()->set_language (smpte->language().get_value_or (""));
- }
-
_length = ContentTime::from_seconds (sc->latest_subtitle_out().as_seconds ());
sc->fix_empty_font_ids ();