Small g_print additions
authorWim Taymans <wim.taymans@gmail.com>
Tue, 18 Dec 2001 19:45:31 +0000 (19:45 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 18 Dec 2001 19:45:31 +0000 (19:45 +0000)
Original commit message from CVS:
Small g_print additions

tests/old/testsuite/threads/thread.c
testsuite/threads/thread.c

index 9ef9fc2..f41d008 100644 (file)
@@ -61,16 +61,27 @@ main (gint argc, gchar *argv[])
   if (testnum == 1) {
     g_print ("stress test state changes...\n");
 
+    g_print ("NULL\n");
     gst_element_set_state (pipeline, GST_STATE_NULL);
+    g_print ("READY\n");
     gst_element_set_state (pipeline, GST_STATE_READY);
+    g_print ("NULL\n");
     gst_element_set_state (pipeline, GST_STATE_NULL);
+    g_print ("PAUSED\n");
     gst_element_set_state (pipeline, GST_STATE_PAUSED);
+    g_print ("READY\n");
     gst_element_set_state (pipeline, GST_STATE_READY);
+    g_print ("PAUSED\n");
     gst_element_set_state (pipeline, GST_STATE_PAUSED);
+    g_print ("PLAYING\n");
     gst_element_set_state (pipeline, GST_STATE_PLAYING);
+    g_print ("PAUSED\n");
     gst_element_set_state (pipeline, GST_STATE_PAUSED);
+    g_print ("PLAYING\n");
     gst_element_set_state (pipeline, GST_STATE_PLAYING);
+    g_print ("READY\n");
     gst_element_set_state (pipeline, GST_STATE_READY);
+    g_print ("NULL\n");
     gst_element_set_state (pipeline, GST_STATE_NULL);
   }
 
index 9ef9fc2..f41d008 100644 (file)
@@ -61,16 +61,27 @@ main (gint argc, gchar *argv[])
   if (testnum == 1) {
     g_print ("stress test state changes...\n");
 
+    g_print ("NULL\n");
     gst_element_set_state (pipeline, GST_STATE_NULL);
+    g_print ("READY\n");
     gst_element_set_state (pipeline, GST_STATE_READY);
+    g_print ("NULL\n");
     gst_element_set_state (pipeline, GST_STATE_NULL);
+    g_print ("PAUSED\n");
     gst_element_set_state (pipeline, GST_STATE_PAUSED);
+    g_print ("READY\n");
     gst_element_set_state (pipeline, GST_STATE_READY);
+    g_print ("PAUSED\n");
     gst_element_set_state (pipeline, GST_STATE_PAUSED);
+    g_print ("PLAYING\n");
     gst_element_set_state (pipeline, GST_STATE_PLAYING);
+    g_print ("PAUSED\n");
     gst_element_set_state (pipeline, GST_STATE_PAUSED);
+    g_print ("PLAYING\n");
     gst_element_set_state (pipeline, GST_STATE_PLAYING);
+    g_print ("READY\n");
     gst_element_set_state (pipeline, GST_STATE_READY);
+    g_print ("NULL\n");
     gst_element_set_state (pipeline, GST_STATE_NULL);
   }