diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-26 19:44:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-26 19:44:32 +0200 |
| commit | 504c7ba026dff76f4124effef01f36a528a04bec (patch) | |
| tree | 2dacf936bf75271bc4b5a09dc79b66aa0e725150 /src/subtitle_asset.cc | |
| parent | 8e971733f7e001f944d6dd29193938ebadafd0be (diff) | |
Better subtitle comparisons in tests.v1.8.30
Diffstat (limited to 'src/subtitle_asset.cc')
| -rw-r--r-- | src/subtitle_asset.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc index bd8bb993..271199ef 100644 --- a/src/subtitle_asset.cc +++ b/src/subtitle_asset.cc @@ -558,8 +558,7 @@ SubtitleAsset::equals (shared_ptr<const Asset> other_asset, EqualityOptions opti return false; } - if (string_i && *string_i != *string_j) { - note (NoteType::ERROR, String::compose("subtitles differ in text or metadata: %1 vs %2", string_i->text(), string_j->text())); + if (string_i && !string_i->equals(string_j, options, note)) { return false; } |
