Created
August 5, 2011 05:22
-
-
Save amrox/1126956 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
| dispatch_async(_renderQueue, ^{ | |
| [exportSession exportAsynchronouslyWithCompletionHandler:^{ | |
| LOG_DEBUG( @"exported to %@", [exportSession.outputURL path] ); | |
| }]; | |
| }); | |
| TEST_WAIT_UNTIL_TRUE( (exportSession.status == AVAssetExportSessionStatusCancelled || | |
| exportSession.status == AVAssetExportSessionStatusFailed || | |
| exportSession.status == AVAssetExportSessionStatusCompleted) ); | |
| STAssertTrue( exportSession.status == AVAssetExportSessionStatusCompleted, @"export failed" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment