summaryrefslogtreecommitdiff
path: root/src/subtitle_image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-02 10:09:30 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-02 10:09:30 +0100
commit2b522d0382a6d4534f1504123a9d16700fe50f0a (patch)
tree63d5c8ee3a82ee739f98957ef425afc8286778b5 /src/subtitle_image.h
parent3c90f397bf2222e0249ba169df0dac75b556f989 (diff)
Fix equals() with image subtitles to not compare unique IDs.
Also add an option to save subtitle images to PNGs when they differ.
Diffstat (limited to 'src/subtitle_image.h')
-rw-r--r--src/subtitle_image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/subtitle_image.h b/src/subtitle_image.h
index 76c34765..e397fb2b 100644
--- a/src/subtitle_image.h
+++ b/src/subtitle_image.h
@@ -99,6 +99,8 @@ public:
return _file;
}
+ bool equals (boost::shared_ptr<dcp::SubtitleImage> other, EqualityOptions options, NoteHandler note);
+
private:
ArrayData _png_image;
std::string _id;