Skip to content

Commit

Permalink
fix: Reset to default playback rate on release playback rate controll…
Browse files Browse the repository at this point in the history
…er (#6089)
  • Loading branch information
avelad committed Jan 11, 2024
1 parent 2862228 commit 23fb2f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/media/play_rate_controller.js
Expand Up @@ -41,6 +41,7 @@ shaka.media.PlayRateController = class {

/** @override */
release() {
this.set(this.getDefaultRate());
if (this.timer_) {
this.timer_.stop();
this.timer_ = null;
Expand Down

0 comments on commit 23fb2f5

Please sign in to comment.