summaryrefslogtreecommitdiff
path: root/tests/sched
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2001-01-29 00:06:02 +0000
committerWim Taymans <wim.taymans@gmail.com>2001-01-29 00:06:02 +0000
commit51cbf22624ec32a672d72f04942fab32bb83cdb9 (patch)
tree53b9734c49ba656d0a950a005629285b9eefed85 /tests/sched
parentd0abadd974489acc4bf4f016a7b65b5febb80d60 (diff)
This is a megapatch with the following changes:
Original commit message from CVS: This is a megapatch with the following changes: - moved the gchar *name to GstObject, removed the ones in GstElement and GstPad. - moved the parent handling completely into GstObject. This cause *all* of the plugins to fail (except those that used gst_pad_get_parent) - rearanged the XML save handling. - GstObject now has a class function save/restore_thyself. - GstObject has a generic method gst_object_save_thyself, this makes it possible to fire a signal wehever a new object is loaded. This is needed so we can add XML save hooks. - GstXML API has changed slightly. You now have to create a GstXML object first before you can actually load something. This makes it possible to attach a signal to GstXML whenever an object is loaded. I'm not sure we will keep this interface. - GstObject can now print the path_string without knowing about the GstPad and GstElement types. - Added gst_bin_get_by_name_recurse_up to lookup an element in the current element hierarchy. - added XML namespaces to the saved pipelines the namespace is: http://gstreamer.net/gst-core/1.0/ namespaces are needed to distinguish user generated XML from the core XML. Note that the plugins still contain a macro GST_OBJECT_PARENT that will be replaced with gst_pad_get_parent shortly.
Diffstat (limited to 'tests/sched')
-rw-r--r--tests/sched/runxml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sched/runxml.c b/tests/sched/runxml.c
index a1bc8a257..e7018365a 100644
--- a/tests/sched/runxml.c
+++ b/tests/sched/runxml.c
@@ -41,7 +41,8 @@ int main(int argc,char *argv[])
g_print ("\n *** using testfile %s\n", argv[1]);
- xml = gst_xml_new(argv[1], NULL);
+ xml = gst_xml_new();
+ xml = gst_xml_parse_file (xml, argv[1], NULL);
toplevelelements = gst_xml_get_topelements (xml);