diff options
author | Benjamin Otte <otte@gnome.org> | 2003-06-29 14:05:49 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-06-29 14:05:49 +0000 |
commit | 803ce6bf4884d8e5a0a16899ec0ad7d6757749e3 (patch) | |
tree | b74a727107163f74dba674935d8368a530b1d6bb /tests/sched | |
parent | 30438fd472b634da9a649b78efe6063dcb695c21 (diff) |
GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug
expect breakage
Diffstat (limited to 'tests/sched')
-rw-r--r-- | tests/sched/interrupt1.c | 5 | ||||
-rw-r--r-- | tests/sched/interrupt2.c | 5 | ||||
-rw-r--r-- | tests/sched/interrupt3.c | 5 | ||||
-rw-r--r-- | tests/sched/runxml.c | 3 |
4 files changed, 7 insertions, 11 deletions
diff --git a/tests/sched/interrupt1.c b/tests/sched/interrupt1.c index 0b05fdb49..2fae69af4 100644 --- a/tests/sched/interrupt1.c +++ b/tests/sched/interrupt1.c @@ -26,13 +26,12 @@ int main (int argc, char *argv[]) gst_element_link_pads (queue, "src", sink, "sink"); gst_element_set_state (pipeline, GST_STATE_PLAYING); - sleep (1); + g_usleep (G_USEC_PER_SEC); gst_element_set_state (pipeline, GST_STATE_PAUSED); gst_element_set_state (pipeline, GST_STATE_PLAYING); - sleep (1); + g_usleep (G_USEC_PER_SEC); gst_element_set_state (pipeline, GST_STATE_PAUSED); return 0; } - diff --git a/tests/sched/interrupt2.c b/tests/sched/interrupt2.c index 8108be49c..4e2551bfc 100644 --- a/tests/sched/interrupt2.c +++ b/tests/sched/interrupt2.c @@ -30,13 +30,12 @@ int main (int argc, char *argv[]) gst_element_link_pads (identity, "src", sink, "sink"); gst_element_set_state (pipeline, GST_STATE_PLAYING); - sleep (1); + g_usleep (G_USEC_PER_SEC); gst_element_set_state (pipeline, GST_STATE_PAUSED); gst_element_set_state (pipeline, GST_STATE_PLAYING); - sleep (1); + g_usleep (G_USEC_PER_SEC); gst_element_set_state (pipeline, GST_STATE_PAUSED); return 0; } - diff --git a/tests/sched/interrupt3.c b/tests/sched/interrupt3.c index 04fb9fa61..38f06e518 100644 --- a/tests/sched/interrupt3.c +++ b/tests/sched/interrupt3.c @@ -33,13 +33,12 @@ int main (int argc, char *argv[]) gst_element_link_pads (adder, "src", sink, "sink"); gst_element_set_state (pipeline, GST_STATE_PLAYING); - sleep (1); + g_usleep (G_USEC_PER_SEC); gst_element_set_state (pipeline, GST_STATE_PAUSED); gst_element_set_state (pipeline, GST_STATE_PLAYING); - sleep (1); + g_usleep (G_USEC_PER_SEC); gst_element_set_state (pipeline, GST_STATE_PAUSED); return 0; } - diff --git a/tests/sched/runxml.c b/tests/sched/runxml.c index 309f68d31..d1b2a6dfe 100644 --- a/tests/sched/runxml.c +++ b/tests/sched/runxml.c @@ -79,7 +79,7 @@ int main(int argc,char *argv[]) gst_element_set_state(bin, GST_STATE_PLAYING); if (GST_IS_THREAD (bin)) { - sleep (1); + g_usleep (G_USEC_PER_SEC); } else { gst_bin_iterate(GST_BIN(bin)); @@ -95,4 +95,3 @@ int main(int argc,char *argv[]) exit(0); } - |