Skip to content
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

Conversation

SergeyPetrachkov
Copy link
Contributor

@SergeyPetrachkov SergeyPetrachkov commented May 18, 2017

Fixes #291.

Copy link
Member

@nguyenhuy nguyenhuy left a 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!

@@ -58,6 +58,7 @@ @interface ASVideoNode ()
unsigned int delegateVideoNodeDidSetCurrentItem:1;
unsigned int delegateVideoNodeDidStallAtTimeInterval:1;
unsigned int delegateVideoNodeDidRecoverFromStall:1;
unsigned int delegateVideoNodeDidFailToLoadValuesForKey:1;
Copy link
Member

Choose a reason for hiding this comment

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

Nit: delegateVideoNodeDidFailToLoadValueForKey, instead of delegateVideoNodeDidFailToLoadValuesForKey

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, done

@nguyenhuy
Copy link
Member

Cool. Thanks for fixing this, @petrachkov!

@nguyenhuy nguyenhuy merged commit 0e4d48a into TextureGroup:master May 18, 2017
SergeyPetrachkov added a commit to SergeyPetrachkov/Texture that referenced this pull request May 26, 2017
* 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
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants