mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
correct data type
git-svn-id: https://zxing.googlecode.com/svn/trunk@1786 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
9f519ac146
commit
ce5378194a
|
@ -379,7 +379,7 @@ ZXAV(didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer)
|
||||||
|
|
||||||
ZXQT({
|
ZXQT({
|
||||||
if (!reported_width || !reported_height) {
|
if (!reported_width || !reported_height) {
|
||||||
CGSize size =
|
NSSize size =
|
||||||
[[[[input.device.formatDescriptions objectAtIndex:0]
|
[[[[input.device.formatDescriptions objectAtIndex:0]
|
||||||
formatDescriptionAttributes] objectForKey:@"videoEncodedPixelsSize"] sizeValue];
|
formatDescriptionAttributes] objectForKey:@"videoEncodedPixelsSize"] sizeValue];
|
||||||
width = size.width;
|
width = size.width;
|
||||||
|
|
Loading…
Reference in a new issue