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

[ASVideoNode] Ensure that both ASVideoNode and ASNetworkImageNode delegate methods are called #1790

Merged

Conversation

gazreese
Copy link
Contributor

Before this change the user of ASVideoNode could set the .delegate property but the ASNetworkImageNode delegate methods were not called. This meant that the client of ASVideoNode was not able to observe image progress or errors.

I've tested this both with the test harness and in my own project.

…egate methods are called for ASVideoNode observers
@ghost ghost added the CLA Signed label Jun 21, 2016
@hannahmbanana
Copy link
Contributor

@gazreese: Thanks for catching this - sorry I missed this!

@hannahmbanana
Copy link
Contributor

@Adlai-Holler @maicki: this PR LGTM. It's an easy one-liner (excluding testing code).

@Adlai-Holler
Copy link
Contributor

Let's take this to the hoop! 👍

@maicki maicki merged commit 7175afb into facebookarchive:master Jun 23, 2016
@gazreese
Copy link
Contributor Author

Thanks guys!

@@ -453,7 +453,9 @@ - (AVPlayer *)player

- (void)setDelegate:(id<ASVideoNodeDelegate>)delegate
{
[super setDelegate:delegate];
Copy link
Contributor

Choose a reason for hiding this comment

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

@gazreese ak, thanks for fixing this!!!

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.

6 participants