Skip to content

Commit

Permalink
fix: Don't force update captions by default (shaka-project#3425)
Browse files Browse the repository at this point in the history
  • Loading branch information
kocoten1992 authored May 26, 2021
1 parent a09fa31 commit a0d3e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/text/ui_text_displayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ shaka.text.UITextDisplayer = class {
* @param {boolean=} forceUpdate
* @private
*/
updateCaptions_(forceUpdate = true) {
updateCaptions_(forceUpdate = false) {
const currentTime = this.video_.currentTime;

// Return true if the cue should be displayed at the current time point.
Expand Down

0 comments on commit a0d3e52

Please sign in to comment.