projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c63c0
)
Improve a variable name.
author
Carl Hetherington
<cth@carlh.net>
Wed, 6 Jul 2022 08:51:04 +0000
(10:51 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 20 Jul 2022 08:22:55 +0000
(10:22 +0200)
src/lib/dcp_subtitle_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp_subtitle_decoder.cc
b/src/lib/dcp_subtitle_decoder.cc
index 4743ecf42c228fb1dcb2b65ee021ecb7289ce96f..08c2bf7ec3642a86f687d9d4d24e6f7cbeaa663c 100644
(file)
--- a/
src/lib/dcp_subtitle_decoder.cc
+++ b/
src/lib/dcp_subtitle_decoder.cc
@@
-41,9
+41,9
@@
DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const Film> film, shared_ptr<
: Decoder (film)
{
/* Load the XML or MXF file */
- auto const
c
= load (content->path(0));
-
c
->fix_empty_font_ids ();
- _subtitles =
c
->subtitles ();
+ auto const
asset
= load (content->path(0));
+
asset
->fix_empty_font_ids ();
+ _subtitles =
asset
->subtitles ();
_next = _subtitles.begin ();
text.push_back (make_shared<TextDecoder>(this, content->only_text()));