Commit 28c00fa2 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Added log for supported params in Android camera configuration

parent 9f73be62
......@@ -61,12 +61,14 @@ public class AndroidVideoApi9JniWrapper {
for (String focusMode : params.getSupportedFocusModes()) {
if (focusMode.equalsIgnoreCase(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO)) {
Log.d("FOCUS_MODE_CONTINUOUS_VIDEO is supported, let's use it");
params.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO);
break;
}
}
if (params.isVideoStabilizationSupported()) {
Log.d("Video stabilization is supported, let's use it");
params.setVideoStabilization(true);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment