diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-12 00:51:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-27 14:47:25 +0100 |
| commit | 5e7ec41119961114a9b4df90d1c9ced580667f54 (patch) | |
| tree | 2fae629b2b2177fadf0dc9e8cd83bad7e88c1789 /src/lib/dcp_decoder.cc | |
| parent | 54a17f662b3ce226fd1116e68013d6608d5f6602 (diff) | |
Support the 2014 version of SMPTE 428-7 in render_text.cc and use it
when placing subtitles (e.g. SRT). Also default to outputting 2014-era
alignment.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
| -rw-r--r-- | src/lib/dcp_decoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc index 0f4e1afa1..e82e9e958 100644 --- a/src/lib/dcp_decoder.cc +++ b/src/lib/dcp_decoder.cc @@ -304,7 +304,7 @@ DCPDecoder::pass_texts ( ContentTime::from_frames(_offset - entry_point, vfr) + ContentTime::from_seconds(b.out().as_seconds()) ), strings, - _dcp_content->standard() + asset->subtitle_standard() ); strings.clear (); } @@ -340,7 +340,7 @@ DCPDecoder::pass_texts ( ContentTime::from_frames(_offset - entry_point, vfr) + ContentTime::from_seconds(b.out().as_seconds()) ), strings, - _dcp_content->standard() + asset->subtitle_standard() ); strings.clear (); } |
