From 4cbf01a7f0db368de43770cdc57e96dabb1b9898 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 18 Dec 2001 19:45:31 +0000 Subject: [PATCH] Small g_print additions Original commit message from CVS: Small g_print additions --- tests/old/testsuite/threads/thread.c | 11 +++++++++++ testsuite/threads/thread.c | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/tests/old/testsuite/threads/thread.c b/tests/old/testsuite/threads/thread.c index 9ef9fc2411..f41d008117 100644 --- a/tests/old/testsuite/threads/thread.c +++ b/tests/old/testsuite/threads/thread.c @@ -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); } diff --git a/testsuite/threads/thread.c b/testsuite/threads/thread.c index 9ef9fc2411..f41d008117 100644 --- a/testsuite/threads/thread.c +++ b/testsuite/threads/thread.c @@ -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); }