From 740aa3a33b55c5d51ae07dbb8bf40620bdd7b7b6 Mon Sep 17 00:00:00 2001 From: Oren Agiv Date: Fri, 27 Jun 2014 21:25:08 +0300 Subject: [PATCH] Enabled ITF support --- src/ios/CDVBarcodeScanner.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVBarcodeScanner.mm b/src/ios/CDVBarcodeScanner.mm index 8807c912..d57bfa1b 100644 --- a/src/ios/CDVBarcodeScanner.mm +++ b/src/ios/CDVBarcodeScanner.mm @@ -433,7 +433,7 @@ - (void)captureOutput:(AVCaptureOutput*)captureOutput didOutputSampleBuffer:(CMS decodeHints.addFormat(BarcodeFormat_EAN_13); decodeHints.addFormat(BarcodeFormat_CODE_128); decodeHints.addFormat(BarcodeFormat_CODE_39); - // decodeHints.addFormat(BarcodeFormat_ITF); causing crashes + decodeHints.addFormat(BarcodeFormat_ITF); // here's the meat of the decode process Ref luminanceSource ([self getLuminanceSourceFromSample: sampleBuffer imageBytes:&imageBytes]);