[0.10] gst-plugins-bad: camerabin2: remove unused helper function

Tim Müller tpm at kemper.freedesktop.org
Wed Jan 4 10:07:55 PST 2012


Module: gst-plugins-bad
Branch: 0.10
Commit: f06da47f715212b1a3967d1235ce58feb9ed285b
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=f06da47f715212b1a3967d1235ce58feb9ed285b

Author: Thiago Santos <thiago.sousa.santos at collabora.com>
Date:   Thu Dec 22 15:01:47 2011 -0300

camerabin2: remove unused helper function

This drop_eos_probe function is not used anymore, remove it

---

 gst/camerabin2/camerabingeneral.c |   26 --------------------------
 gst/camerabin2/camerabingeneral.h |    2 --
 2 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/gst/camerabin2/camerabingeneral.c b/gst/camerabin2/camerabingeneral.c
index 0aaa647..046ccd7 100644
--- a/gst/camerabin2/camerabingeneral.c
+++ b/gst/camerabin2/camerabingeneral.c
@@ -258,29 +258,3 @@ gst_camerabin_remove_elements_from_bin (GstBin * bin)
   }
   gst_iterator_free (iter);
 }
-
-/**
- * gst_camerabin_drop_eos_probe:
- * @pad: pad receiving the event
- * @event: received event
- * @u_data: not used
- *
- * Event probe that drop all eos events.
- *
- * Returns: FALSE to drop the event, TRUE otherwise
- */
-gboolean
-gst_camerabin_drop_eos_probe (GstPad * pad, GstEvent * event, gpointer u_data)
-{
-  gboolean ret = TRUE;
-
-  switch (GST_EVENT_TYPE (event)) {
-    case GST_EVENT_EOS:
-      GST_DEBUG ("dropping eos in %s:%s", GST_DEBUG_PAD_NAME (pad));
-      ret = FALSE;
-      break;
-    default:
-      break;
-  }
-  return ret;
-}
diff --git a/gst/camerabin2/camerabingeneral.h b/gst/camerabin2/camerabingeneral.h
index 5c08154..a770045 100644
--- a/gst/camerabin2/camerabingeneral.h
+++ b/gst/camerabin2/camerabingeneral.h
@@ -34,6 +34,4 @@ GstElement * gst_camerabin_setup_default_element (GstBin * bin, GstElement *user
 
 void gst_camerabin_remove_elements_from_bin (GstBin * bin);
 
-gboolean gst_camerabin_drop_eos_probe (GstPad * pad, GstEvent * event, gpointer u_data);
-
 #endif /* #ifndef __CAMERABIN_GENERAL_H_ */



More information about the gstreamer-commits mailing list