[farsight2/master] Use an empty handoff handler for the stop stream test

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:54 PST 2008


---
 tests/check/transmitter/rawudp.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/tests/check/transmitter/rawudp.c b/tests/check/transmitter/rawudp.c
index eef3919..9ee4a3c 100644
--- a/tests/check/transmitter/rawudp.c
+++ b/tests/check/transmitter/rawudp.c
@@ -483,6 +483,13 @@ _bus_stop_stream_cb (GstBus *bus, GstMessage *message, gpointer user_data)
   return TRUE;
 }
 
+static void
+_handoff_handler_empty (GstElement *element, GstBuffer *buffer, GstPad *pad,
+  gpointer user_data)
+{
+}
+
+
 /*
  * This test checks that starting a stream, getting it to playing
  * then stopping it works
@@ -507,7 +514,7 @@ GST_START_TEST (test_rawudptransmitter_stop_stream)
 
   ts_fail_if (trans == NULL, "No transmitter create, yet error is still NULL");
 
-  pipeline = setup_pipeline (trans, G_CALLBACK (_handoff_handler));
+  pipeline = setup_pipeline (trans, G_CALLBACK (_handoff_handler_empty));
 
   st = fs_transmitter_new_stream_transmitter (trans, NULL, 0, NULL, &error);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list