Skip to content

Commit

Permalink
Merge pull request #2066 from spiterikevin/fixAbandon
Browse files Browse the repository at this point in the history
fix abandonment in AbrController (broken since #1871)
  • Loading branch information
Dan Sparacio authored Jul 10, 2017
2 parents e3d6960 + 195c145 commit 4a3b070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming/controllers/AbrController.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ function AbrController() {
// return newValue;
// });

if (switchRequest.value > SwitchRequest.NO_CHANGE) {
if (switchRequest.quality > SwitchRequest.NO_CHANGE) {
const fragmentModel = streamProcessor.getFragmentModel();
const request = fragmentModel.getRequests({state: FragmentModel.FRAGMENT_MODEL_LOADING, index: e.request.index})[0];
if (request) {
Expand Down

0 comments on commit 4a3b070

Please sign in to comment.