summaryrefslogtreecommitdiff
path: root/tests/check/gst/gstevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check/gst/gstevent.c')
-rw-r--r--tests/check/gst/gstevent.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/check/gst/gstevent.c b/tests/check/gst/gstevent.c
index 4579317a6..217617b15 100644
--- a/tests/check/gst/gstevent.c
+++ b/tests/check/gst/gstevent.c
@@ -264,6 +264,7 @@ static GTimeVal sent_event_time;
static GstEvent *got_event_before_q, *got_event_after_q;
static GTimeVal got_event_time;
+#if 0
static gboolean
event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data)
{
@@ -306,6 +307,7 @@ event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data)
return TRUE;
}
+#endif
static void test_event
(GstBin * pipeline, GstEventType type, GstPad * pad,
@@ -408,12 +410,16 @@ GST_START_TEST (send_custom_events)
/* add pad-probes to faksrc.src and fakesink.sink */
fail_if ((srcpad = gst_element_get_static_pad (fakesrc, "src")) == NULL);
+#if 0
gst_pad_add_event_probe (srcpad, (GCallback) event_probe,
GINT_TO_POINTER (TRUE));
+#endif
fail_if ((sinkpad = gst_element_get_static_pad (fakesink, "sink")) == NULL);
+#if 0
gst_pad_add_event_probe (sinkpad, (GCallback) event_probe,
GINT_TO_POINTER (FALSE));
+#endif
/* Upstream events */
test_event (pipeline, GST_EVENT_CUSTOM_UPSTREAM, sinkpad, TRUE, srcpad);