diff options
author | Andy Wingo <wingo@pobox.com> | 2002-01-19 06:29:40 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-01-19 06:29:40 +0000 |
commit | a43702feb036cd7e47799bc08c4ac02528052009 (patch) | |
tree | e87092a0bffc91b061412669c4d5a5e1d8e635eb /tests/sched | |
parent | a7c3fc7d6ce57b4f47607952f05fd1637aa2f7c4 (diff) |
miscellaneous fixes, added gst_pad_unset_sched() api.
Original commit message from CVS:
miscellaneous fixes, added gst_pad_unset_sched() api.
although I unref the old pipeline and the cothread context gets freed in dynamic-pipeline.c,
I still get segfaults.
Diffstat (limited to 'tests/sched')
-rw-r--r-- | tests/sched/dynamic-pipeline.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sched/dynamic-pipeline.c b/tests/sched/dynamic-pipeline.c index 77d6213c9..abaee6f7c 100644 --- a/tests/sched/dynamic-pipeline.c +++ b/tests/sched/dynamic-pipeline.c @@ -1,5 +1,10 @@ #include <gst/gst.h> +/* This test will fail because it tries to allocate two cothread_context's in + * one thread. This will cause a segfault. This is a problem with gstreamer's + * cothreading that will be fixed in the future. + */ + int main (int argc, char *argv[]) { GstElement *fakesrc, *fakesink1, *fakesink2, *pipe1, *pipe2; @@ -32,6 +37,7 @@ int main (int argc, char *argv[]) gst_object_ref(GST_OBJECT(fakesrc)); gst_bin_remove(GST_BIN(pipe1), fakesrc); gst_bin_remove(GST_BIN(pipe1), fakesink1); + gst_object_unref(GST_OBJECT(pipe1)); // make a new pipeline gst_bin_add (GST_BIN(pipe2), fakesink2); |