From 22c94fafd5d75efd1dc750c4a7639d4dd9219150 Mon Sep 17 00:00:00 2001 From: Marko Ollonen Date: Thu, 4 Apr 2013 08:32:17 +0300 Subject: [PATCH] change zoom value scale Change-Id: Ic83ca247514b5aeeb6c79c7432011bc3efff32dd --- gst-libs/gst/camera/gstmfldcameracontroliface.c | 6 ++---- packaging/gst-plugins-atomisp.changes | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/camera/gstmfldcameracontroliface.c b/gst-libs/gst/camera/gstmfldcameracontroliface.c index 0a7abf9..8b1b9d8 100644 --- a/gst-libs/gst/camera/gstmfldcameracontroliface.c +++ b/gst-libs/gst/camera/gstmfldcameracontroliface.c @@ -317,11 +317,9 @@ gst_camerasrc_camera_control_set_zoom( GstCameraSrc* camerasrc, bclass = GST_CAMERA_SRC_GET_CLASS (camerasrc); - if ((type == GST_CAMERA_CONTROL_DIGITAL_ZOOM) && (value >= 100)) { + if ((type == GST_CAMERA_CONTROL_DIGITAL_ZOOM) && (value >= 10)) { GST_OBJECT_LOCK (camerasrc); - /* use 2 desimals to get accurate(smooth) enough zoom */ - /* photography interface zoom is used */ - camerasrc->photoconf.zoom = (gfloat)(value/100); + camerasrc->photoconf.zoom = (gfloat)(value/10); GST_OBJECT_UNLOCK (camerasrc); GST_DEBUG_OBJECT (camerasrc, "setting zoom to %f", camerasrc->photoconf.zoom); diff --git a/packaging/gst-plugins-atomisp.changes b/packaging/gst-plugins-atomisp.changes index c8f0ec8..93fd900 100644 --- a/packaging/gst-plugins-atomisp.changes +++ b/packaging/gst-plugins-atomisp.changes @@ -1,3 +1,6 @@ +* Thu Apr 04 2013 Marko Ollonen accepted/tizen_2.0/20130307.195130@8373010 +- change zoom value scale + * Thu Apr 04 2013 Marko Ollonen accepted/tizen_2.0/20130307.195130@42c074c - change exposure compensation value scale -- 2.7.4