Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Player: Do not call scale up if there's no client
Browse files Browse the repository at this point in the history
If there is no active client, there can't be any stream
and thus nothing to scale up.
  • Loading branch information
noseglid committed Dec 2, 2014
1 parent 8e8352a commit 8e9dea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Player.as
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ package {
if (iconfig.scaleUp !== undefined) {
var scaleUpChanged:Boolean = (config.scaleUp !== iconfig.scaleUp);
config.scaleUp = iconfig.scaleUp;
if (scaleUpChanged)
if (scaleUpChanged && this.client)
this.videoResize();
}

Expand Down

0 comments on commit 8e9dea5

Please sign in to comment.