diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-11 15:20:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-11 16:05:58 +0000 |
| commit | 6bd8be029c72180a41d70e590bf2cb85a77317bf (patch) | |
| tree | f31286d8a6f4aa990fce2af549e5eb3cb7909b34 /src/lib/dcp_subtitle_content.cc | |
| parent | 5c93e50af883f02eadcf9a7bfe9cbfabbb3be844 (diff) | |
Add language property to SubtitleContent and use it in output DCP subtitle files.
Diffstat (limited to 'src/lib/dcp_subtitle_content.cc')
| -rw-r--r-- | src/lib/dcp_subtitle_content.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc index 7be96ceeb..798afbfc3 100644 --- a/src/lib/dcp_subtitle_content.cc +++ b/src/lib/dcp_subtitle_content.cc @@ -48,6 +48,7 @@ DCPSubtitleContent::examine (shared_ptr<Job> job, bool calculate_digest) { Content::examine (job, calculate_digest); dcp::SubtitleContent sc (path (0), false); + _subtitle_language = sc.language (); _length = DCPTime::from_seconds (sc.latest_subtitle_out().to_seconds ()); } |
