[farsight2/master] Add more debug/comments to the stop stream test

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


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

diff --git a/tests/check/transmitter/rawudp.c b/tests/check/transmitter/rawudp.c
index 19c3135..fadf917 100644
--- a/tests/check/transmitter/rawudp.c
+++ b/tests/check/transmitter/rawudp.c
@@ -497,9 +497,13 @@ _bus_stop_stream_cb (GstBus *bus, GstMessage *message, gpointer user_data)
   if (pending != GST_STATE_VOID_PENDING)
     ts_fail ("New state playing, but pending is %d", pending);
 
+  g_debug ("Stopping stream transmitter");
+
   fs_stream_transmitter_stop (st);
   g_object_unref (st);
 
+  g_debug ("Stopped stream transmitter");
+
   g_atomic_int_set(&running, FALSE);
   g_main_loop_quit (loop);
 
@@ -515,7 +519,7 @@ _handoff_handler_empty (GstElement *element, GstBuffer *buffer, GstPad *pad,
 
 /*
  * This test checks that starting a stream, getting it to playing
- * then stopping it works
+ * then stopping it, while the pipeline is playing works
  */
 
 GST_START_TEST (test_rawudptransmitter_stop_stream)
-- 
1.5.6.5




More information about the farsight-commits mailing list