Bachalo
Bachalo

Reputation: 7219

as3 fullscreen video performance with stage.fullScreenSourceRect

Why does defining a Rectangle object on the stage improve video playback performance?

Without the following a 1080P video plays back at 17fps

With the following it is both larger(fills width of screen) AND plays quicker. Why??

var screenRectangle:Rectangle = new Rectangle(0, 0, 1920,1080);
stage.fullScreenSourceRect = screenRectangle; 

Upvotes: 1

Views: 483

Answers (1)

Bachalo
Bachalo

Reputation: 7219

Think I found the answer It enables hardware scaling

http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001538.html

Upvotes: 1

Related Questions