diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-05-08 20:40:48 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-05-08 20:40:48 +0000 |
commit | 086de421dc283c313f11a3be32a7e3688ea694c5 (patch) | |
tree | 9fbad4968da93e9baa1b19552ededeacbdbcbeea /tests/sched | |
parent | 4992f1c2ed839fc86f1540b93f0e2b54905dab71 (diff) |
Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups
I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
Diffstat (limited to 'tests/sched')
-rw-r--r-- | tests/sched/dynamic-pipeline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/sched/dynamic-pipeline.c b/tests/sched/dynamic-pipeline.c index fa3de4ed0..a89f9aa35 100644 --- a/tests/sched/dynamic-pipeline.c +++ b/tests/sched/dynamic-pipeline.c @@ -20,7 +20,6 @@ int main (int argc, char *argv[]) fakesink1 = gst_element_factory_make("fakesink", "fakesink1"); fakesink2 = gst_element_factory_make("fakesink", "fakesink2"); pipe1 = gst_pipeline_new("pipe1"); - pipe2 = gst_pipeline_new("pipe2"); /* make the first pipeline */ gst_bin_add (GST_BIN(pipe1), fakesrc); @@ -37,8 +36,10 @@ 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)); + + gst_object_unref (GST_OBJECT (pipe1)); + pipe2 = gst_pipeline_new("pipe2"); /* make a new pipeline */ gst_bin_add (GST_BIN(pipe2), fakesink2); |