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.
This commit is contained in:
Lasse Laukkanen 2009-06-29 15:23:25 +03:00 committed by René Stadler
parent 350a805b67
commit 7b62e11412

View file

@ -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);
}