summaryrefslogtreecommitdiff
path: root/src/lib/text_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-15 00:42:15 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-27 13:41:46 +0200
commitc59981ce92898f6be6987f10ebb29161e36e6766 (patch)
treea06ac20b947af1f5c96c844052dbd00da60a2c81 /src/lib/text_decoder.h
parent00da1e02bb8ebfbc377ad34d9810ef1cd72b9cd0 (diff)
Some const correctness.
Diffstat (limited to 'src/lib/text_decoder.h')
-rw-r--r--src/lib/text_decoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h
index 6e96b6b91..d1355afb0 100644
--- a/src/lib/text_decoder.h
+++ b/src/lib/text_decoder.h
@@ -52,8 +52,8 @@ public:
return _position;
}
- void emit_bitmap_start (dcpomatic::ContentTime from, std::shared_ptr<Image> image, dcpomatic::Rect<double> rect);
- void emit_bitmap (dcpomatic::ContentTimePeriod period, std::shared_ptr<Image> image, dcpomatic::Rect<double> rect);
+ void emit_bitmap_start (dcpomatic::ContentTime from, std::shared_ptr<const Image> image, dcpomatic::Rect<double> rect);
+ void emit_bitmap (dcpomatic::ContentTimePeriod period, std::shared_ptr<const Image> image, dcpomatic::Rect<double> rect);
void emit_plain_start (dcpomatic::ContentTime from, std::list<dcp::SubtitleString> s);
void emit_plain_start (dcpomatic::ContentTime from, sub::Subtitle const & subtitle);
void emit_plain (dcpomatic::ContentTimePeriod period, std::list<dcp::SubtitleString> s);