Change-Id: I0b34d4d4ff5ff2a97fc16ff64c1c0a3e1c241554
MMCamAttrsInfo height_info;
legacy_camera_get_capture_resolution(camera, &capture_w, &capture_h);
+ if (capture_h == 0) {
+ LOGE("Capture Height is 0");
+ return CAMERA_ERROR_INVALID_OPERATION;
+ }
ratio = (double)capture_w / (double)capture_h;
if (ratio > 1.5) {
wide = MM_CAMCORDER_PREVIEW_TYPE_WIDE;
Name: mmsvc-camera
Summary: A Camera module for muse server
-Version: 0.2.15
+Version: 0.2.16
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0