-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ASVideoNodeDelegate] fix for #291 crash #292
[ASVideoNodeDelegate] fix for #291 crash #292
Conversation
…ash an app because of not responding to selector; refs TextureGroup#291
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha, I didn't realize that all methods in ASVideoNodeDelegate
are optional. One small nit and we're good to go!
Source/ASVideoNode.mm
Outdated
@@ -58,6 +58,7 @@ @interface ASVideoNode () | |||
unsigned int delegateVideoNodeDidSetCurrentItem:1; | |||
unsigned int delegateVideoNodeDidStallAtTimeInterval:1; | |||
unsigned int delegateVideoNodeDidRecoverFromStall:1; | |||
unsigned int delegateVideoNodeDidFailToLoadValuesForKey:1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: delegateVideoNodeDidFailToLoad
ValueForKey
, instead of delegateVideoNodeDidFailToLoad
ValuesForKey
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, done
Cool. Thanks for fixing this, @petrachkov! |
* Fixed bug where ASVideoNodeDelegate error reporting callback would crash an app because of not responding to selector; refs TextureGroup#291 * updated changelog.md * fixed typo in const name of ASVideoNodeDelegate method in delegate flags; refs TextureGroup#292
* Fixed bug where ASVideoNodeDelegate error reporting callback would crash an app because of not responding to selector; refs TextureGroup#291 * updated changelog.md * fixed typo in const name of ASVideoNodeDelegate method in delegate flags; refs TextureGroup#292
Fixes #291.