From 43ffb7689f71027806ba5eaf6c718cba68c39038 Mon Sep 17 00:00:00 2001 From: Marko Ollonen Date: Fri, 31 May 2013 15:33:49 +0300 Subject: [PATCH] speed up STREAMOFF by calling it just after capture. Change-Id: I94d185a358e94e573cf32734a0e46dfd9008de1f --- gst-libs/gst/camera/gstmfldcamerasrc.c | 5 +++++ packaging/gst-plugins-atomisp.changes | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gst-libs/gst/camera/gstmfldcamerasrc.c b/gst-libs/gst/camera/gstmfldcamerasrc.c index de56cde..aaa3959 100644 --- a/gst-libs/gst/camera/gstmfldcamerasrc.c +++ b/gst-libs/gst/camera/gstmfldcamerasrc.c @@ -2286,6 +2286,11 @@ start_over: gst_camerasrc_send_image_tags (camerasrc); if ((camerasrc->signal_still_capture == TRUE) && (camerasrc->photo_capture_phase == GST_CAMERA_CAPTURE_DONE) && (still_capture_initialised == TRUE)) { still_capture_initialised = FALSE; + + /* speed up STREAMOFF by calling it just after capture */ + if ((camerasrc->capture_counter - 1) <= 0) + bclass->stop(camerasrc); + /*call signal*/ /* alloc buffer for capture callback */ buf_cap_signal1 = gst_buffer_new (); diff --git a/packaging/gst-plugins-atomisp.changes b/packaging/gst-plugins-atomisp.changes index 89bf2b9..d6f75df 100644 --- a/packaging/gst-plugins-atomisp.changes +++ b/packaging/gst-plugins-atomisp.changes @@ -1,3 +1,6 @@ +* Fri May 31 2013 Marko Ollonen accepted/tizen_2.0/20130307.195130@c049e40 +- speed up STREAMOFF by calling it just after capture. + * Mon May 27 2013 Marko Ollonen accepted/tizen_2.0/20130307.195130@ba7694f - fix zoom calculuation,TZSP-6562. - change flash sequence. -- 2.7.4