diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-02 10:09:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-02 10:09:30 +0100 |
| commit | 2b522d0382a6d4534f1504123a9d16700fe50f0a (patch) | |
| tree | 63d5c8ee3a82ee739f98957ef425afc8286778b5 /src/subtitle_image.h | |
| parent | 3c90f397bf2222e0249ba169df0dac75b556f989 (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.h | 2 |
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; |
