Small g_print additions

Original commit message from CVS:
Small g_print additions
This commit is contained in:
Wim Taymans 2001-12-18 19:45:31 +00:00
parent 7dd1fb647b
commit 4cbf01a7f0
2 changed files with 22 additions and 0 deletions

View 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);
}

View 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);
}