mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
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:
parent
350a805b67
commit
7b62e11412
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue