camerabin2: v4l2camerasrc: Remove unused variable
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 25 Nov 2010 23:53:04 +0000 (20:53 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 8 Dec 2010 18:38:26 +0000 (15:38 -0300)
Removed unused leftover variable

gst/camerabin2/gstv4l2camerasrc.c
gst/camerabin2/gstv4l2camerasrc.h

index 1cc4ca8..6cd2eb1 100644 (file)
@@ -613,9 +613,6 @@ img_capture_prepared (gpointer data, GstCaps * caps)
   } else {
     set_capsfilter_caps (self, self->image_capture_caps);
   }
-
-//XXX  g_object_set (G_OBJECT (camera->src_out_sel), "resend-latest", FALSE,
-//XXX      "active-pad", camera->pad_src_img, NULL);
 }
 
 static void
@@ -676,8 +673,6 @@ start_image_capture (GstV4l2CameraSrc * self)
         self->image_capture_caps, self);
 
   } else {
-//XXX    g_object_set (G_OBJECT (camera->src_out_sel), "resend-latest", TRUE,
-//XXX        "active-pad", camera->pad_src_img, NULL);
     ret = TRUE;
   }
 
index dd3ea4e..f12dc8c 100644 (file)
@@ -58,7 +58,6 @@ struct _GstV4l2CameraSrc
   GstElement *src_zoom_crop;
   GstElement *src_zoom_scale;
   GstElement *src_zoom_filter;
-  GstElement *src_out_sel;
 
   /* srcpads of tee */
   GstPad *tee_vf_srcpad;