projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bc78f5
)
fixed mainloop for non-glib2 this is a hack, we really need to fix this properly...
author
Andy Wingo
<wingo@pobox.com>
Sun, 25 Nov 2001 15:58:58 +0000
(15:58 +0000)
committer
Andy Wingo
<wingo@pobox.com>
Sun, 25 Nov 2001 15:58:58 +0000
(15:58 +0000)
Original commit message from CVS:
fixed mainloop for non-glib2
this is a hack, we really need to fix this properly so i don't have to do this in every file
tests/sched/dynamic-pipeline.c
patch
|
blob
|
history
diff --git
a/tests/sched/dynamic-pipeline.c
b/tests/sched/dynamic-pipeline.c
index
6251bd9
..
6308df8
100644
(file)
--- a/
tests/sched/dynamic-pipeline.c
+++ b/
tests/sched/dynamic-pipeline.c
@@
-52,7
+52,11
@@
int main (int argc, char *argv[])
gst_element_set_state(pipe2, GST_STATE_PLAYING);
g_idle_add(idle_func, pipe2);
- g_main_loop_run(g_main_loop_new(NULL, FALSE));
+#ifdef USE_GLIB2
+ g_main_loop_run (g_main_loop_new (NULL, FALSE));
+#else
+ gst_main();
+#endif
gst_element_set_state(pipe2, GST_STATE_NULL);
return 0;