camerabin2: Remove unused variable
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Fri, 17 Jun 2011 20:26:37 +0000 (17:26 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Jun 2011 03:05:13 +0000 (00:05 -0300)
gst/camerabin2/gstcamerabin2.c
gst/camerabin2/gstcamerabin2.h

index a0dbccbd4bdc52af11a0970d76bcce24bce2ba3c..227724dbc54da27ded6e5c8fceed678df1475575 100644 (file)
@@ -382,12 +382,6 @@ gst_camera_bin_dispose (GObject * object)
     g_signal_handler_disconnect (camerabin->video_encodebin,
         camerabin->video_encodebin_signal_id);
 
-  if (camerabin->videosink_probe) {
-    GstPad *pad = gst_element_get_static_pad (camerabin->videosink, "sink");
-    gst_pad_remove_data_probe (pad, camerabin->videosink_probe);
-    gst_object_unref (pad);
-  }
-
   if (camerabin->videosink)
     gst_object_unref (camerabin->videosink);
   if (camerabin->video_encodebin)
index 59e3723dffe219e4fab5f22bc6d9ea9ab7815c10..449b300f6613442b74e1b001d0aa515aad273426 100644 (file)
@@ -45,7 +45,6 @@ struct _GstCameraBin
   GstElement *video_encodebin;
   gulong video_encodebin_signal_id;
   GstElement *videosink;
-  gulong videosink_probe;
   GstElement *videobin_queue;
   GstElement *videobin_capsfilter;