We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36eb11 commit c76fc4eCopy full SHA for c76fc4e
lib/text/cue.js
@@ -367,7 +367,11 @@ shaka.text.Cue = class {
367
// performance optimization. We can avoid the more expensive recursive
368
// checks if the top-level properties don't match.
369
// See: https://github.com/shaka-project/shaka-player/issues/3018
370
- if (cue1.startTime != cue2.startTime || cue1.endTime != cue2.endTime ||
+ if (cue1.startTime != cue2.startTime ||
371
+ // With Ateme 4.21.4 subtitles we have cues with the same startTime and
372
+ // payload but with different endTime (around 15 milliseconds).
373
+ // It causes the subtitles to be duplicated.
374
+ // cue1.endTime != cue2.endTime ||
375
cue1.payload != cue2.payload) {
376
return false;
377
}
0 commit comments