Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

[ASVideoNode] Performance enhancements#1106

Merged
appleguy merged 5 commits intofacebookarchive:masterfrom
lappp9:ASVideoNode
Jan 25, 2016
Merged

[ASVideoNode] Performance enhancements#1106
appleguy merged 5 commits intofacebookarchive:masterfrom
lappp9:ASVideoNode

Conversation

@lappp9
Copy link
Copy Markdown
Contributor

@lappp9 lappp9 commented Jan 25, 2016

• Asynchronously loads first frame as a placeholder when video doesn't need to be playing
• Removed extra pauses that caused some slow down.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if _shouldBePlaying is already set, we should not need to set it?! :) @lappp9

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah, @appleguy this is a weird thing i need to change but didn't want to until i had time to put a test or two around the logic. I reset it to _shouldBePlaying because a call to -pause sets shouldBePlaying to NO. Probably a side effect i need to get rid of, but I was originally trying to cut down on duplication of setting that property, lol

appleguy added a commit that referenced this pull request Jan 25, 2016
[ASVideoNode] Performance enhancements
@appleguy appleguy merged commit b3239b6 into facebookarchive:master Jan 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants