summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Laukkanen <ext-lasse.2.laukkanen@nokia.com>2009-06-29 15:23:25 +0300
committerRené Stadler <rene.stadler@nokia.com>2009-10-01 18:06:53 +0300
commit7b62e11412f680550c0bd7e98f3868620dd7754e (patch)
tree2461288a582d811f0a0b8390f0bd715878a6cf40
parent350a805b67c5c9f9a34aaba83c86dd061a3c0f51 (diff)
camerabin: don't reset capsfilters or zoom if error occurs
If an error occurs, application should set pipeline to NULL, and updating zoom can actually block message handling if video device driver has failed and video src element supports zooming using photography interface and S_CROP.
-rw-r--r--gst/camerabin/gstcamerabin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c
index c3010ab8d..b449aa925 100644
--- a/gst/camerabin/gstcamerabin.c
+++ b/gst/camerabin/gstcamerabin.c
@@ -3094,7 +3094,6 @@ gst_camerabin_handle_message_func (GstBin * bin, GstMessage * msg)
GST_MESSAGE_SRC (msg));
g_mutex_lock (camera->capture_mutex);
if (camera->capturing) {
- gst_camerabin_finish_image_capture (camera);
camera->capturing = FALSE;
g_cond_signal (camera->cond);
}