]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
[#766] Fix the change of speed when quality changes
authorGaëtan Rizio <gaetan+git@rizio.fr>
Sun, 8 Jul 2018 11:08:35 +0000 (13:08 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 9 Jul 2018 12:27:12 +0000 (14:27 +0200)
When changing the `playbackRate` of the video then changing the quality,
the `playbackRate` returned to its initial value (1).

The reason behind it is that the callback was not called when change
of the quality was done if there was no error.

This commit does the following:

* Ensure the callback (`done`) is called after changing the quality


No differences found