[Version] 0.2.96
[Profile] Common
[Issue Type] Svace
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170215.2]
Change-Id: I7a568966faa79faa386eb20529819b7f3b9a7c44
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Name: capi-media-camera
Summary: A Camera API
-Version: 0.2.95
+Version: 0.2.96
Release: 0
Group: Multimedia/API
License: Apache-2.0
g_print("\n Select Anti-handshake mode \n");
flush_stdin();
for (i = 0; i < 2; i++)
- g_print("\t %d. %s\n", i+1, ahs_mode[i]);
+ g_print("\t %d. %s\n", i, ahs_mode[i]);
err = scanf("%d", &idx);
- bret = camera_attr_enable_anti_shake(hcamcorder->camera, idx-1);
+ if (idx == 0 || idx == 1)
+ bret = camera_attr_enable_anti_shake(hcamcorder->camera, idx);
+ else
+ g_print("invalid input %d", idx);
break;
case 'K': /* Setting > Video-stabilization */
g_print("*Video-stabilization !\n");