Skip to content

Commit

Permalink
Couple minor documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Cattle committed May 4, 2015
1 parent 088a9f0 commit 70fea89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ encoder.audioSettings = @

[encoder exportAsynchronouslyWithCompletionHandler:^
{
if (status == AVAssetExportSessionStatusCompleted)
if (encoder.status == AVAssetExportSessionStatusCompleted)
{
NSLog(@"Video export succeeded");
}
else if (status == AVAssetExportSessionStatusCancelled)
else if (encoder.status == AVAssetExportSessionStatusCancelled)
{
NSLog(@"Video export cancelled");
}
else
{
NSLog(@"Video export failed with error: %@ (%d)", error.localizedDescription, error.code);
NSLog(@"Video export failed with error: %@ (%d)", encoder.error.localizedDescription, encoder.error.code);
}
}];

Expand Down
2 changes: 1 addition & 1 deletion SDAVAssetExportSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
* The settings used for encoding the video track.
*
* A value of nil specifies that appended output should not be re-encoded.
* The dictionary’s keys are from <CoreVideo/CVPixelBuffer.h>.
* The dictionary’s keys are from <AVFoundation/AVVideoSettings.h>.
*/
@property (nonatomic, copy) NSDictionary *videoSettings;

Expand Down

0 comments on commit 70fea89

Please sign in to comment.