Created
August 27, 2009 19:55
-
-
Save AlexJWayne/176511 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // this is called by the internal API when the movie is done loading... we can find the MPItem | |
| // from the user dictionary, and ask it for its duration (internal api)... we need the duration | |
| // to find the halfway point | |
| - (void)_movieDidPreload:sender { | |
| NSDictionary *dict = [sender userInfo]; | |
| id item = [dict objectForKey:@"AVController_Item"]; | |
| [self prepareCRS:[item duration]]; | |
| [(id)super _movieDidPreload:sender]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment