wrappercamerabinsrc: Remove unused variable
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 15 Dec 2010 17:07:15 +0000 (14:07 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Dec 2010 16:24:54 +0000 (13:24 -0300)
Remove wait_for_prepara variable that wasn't being used

gst/camerabin2/gstwrappercamerabinsrc.c

index 163327f..b5d2af7 100644 (file)
@@ -612,10 +612,9 @@ start_image_capture (GstWrapperCameraBinSrc * self)
 {
   GstBaseCameraSrc *bcamsrc = GST_BASE_CAMERA_SRC (self);
   GstPhotography *photography = gst_base_camera_src_get_photography (bcamsrc);
-  gboolean wait_for_prepare = FALSE, ret = FALSE;
+  gboolean ret = FALSE;
 
   if (photography) {
-    wait_for_prepare = TRUE;
 
     if (!self->image_capture_caps || self->image_capture_caps_update) {
       if (bcamsrc->image_capture_width && bcamsrc->image_capture_height) {