Skip to content

Commit

Permalink
Update inputCamera property after rotating camera.
Browse files Browse the repository at this point in the history
  • Loading branch information
dittos committed Aug 28, 2012
1 parent 356b09e commit 4c1b11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Source/GPUImageVideoCamera.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#import "GPUImageVideoCamera.h"
#import "GPUImageMovieWriter.h"

Expand Down Expand Up @@ -255,6 +254,7 @@ - (void)rotateCamera
[_captureSession commitConfiguration];
}

_inputCamera = backFacingCamera;
[self setOutputImageOrientation:_outputImageOrientation];
}

Expand Down

0 comments on commit 4c1b11b

Please sign in to comment.