Skip to content

Instantly share code, notes, and snippets.

@amrox
Created August 5, 2011 05:22
Show Gist options
  • Select an option

  • Save amrox/1126956 to your computer and use it in GitHub Desktop.

Select an option

Save amrox/1126956 to your computer and use it in GitHub Desktop.
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