Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa757543 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Camera: Fix max video size for external camera"

parents b9acdaae 3d5d9321
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2429,7 +2429,7 @@ public final class MandatoryStreamCombination {
                long minFrameDuration = mStreamConfigMap.getOutputMinFrameDuration(
                        android.media.MediaRecorder.class, sz);
                // Give some margin for rounding error
                if (minFrameDuration > (1e9 / 30.1)) {
                if (minFrameDuration < (1e9 / 29.9)) {
                    Log.i(TAG, "External camera " + mCameraId + " has max video size:" + sz);
                    return sz;
                }