Merge branch 'master' into fps

pull/1026/head
Mattia Iavarone 5 years ago committed by GitHub
commit d2c3926028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cameraview/src/main/java/com/otaliastudios/cameraview/CameraUtils.java
  2. 2
      docs/_docs/frame-processing.md

@ -94,6 +94,7 @@ public class CameraUtils {
stream.flush();
return file;
} catch (IOException e) {
LOG.e("writeToFile:", "could not write file.", e);
return null;
}
}

@ -29,7 +29,7 @@ cameraView.addFrameProcessor(new FrameProcessor() {
// Process android.media.Image...
}
}
}
});
```
For your convenience, the `FrameProcessor` method is run in a background thread so you can do your job

Loading…
Cancel
Save