summaryrefslogtreecommitdiff
path: root/tests/sched
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-09-27 09:57:20 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-09-27 09:57:20 +0000
commit01085fa26a160e1fccb692b9ffcffcd7eb77c6db (patch)
tree6b49d76cbf64e8c74076d635d1e7d4753e0eee8c /tests/sched
parentf9a16f0ac70e56a67e6168e24c841ca314418b5e (diff)
gst/gstbin.c: use gst_object_has_ancestor().
Original commit message from CVS: * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state): use gst_object_has_ancestor(). * gst/gstobject.c: (gst_object_has_ancestor): * gst/gstobject.h: gst_object_has_ancestor() copied from gstbin.c as it is a usefull function. * tests/instantiate/create.c: (create_all_elements): * tests/lat.c: (handoff_src), (handoff_sink): * tests/sched/runxml.c: (main): * tests/seeking/seeking1.c: (main): * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func), (main): Fix compilation of some tests.
Diffstat (limited to 'tests/sched')
-rw-r--r--tests/sched/runxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sched/runxml.c b/tests/sched/runxml.c
index db2094ec0..e20bfd049 100644
--- a/tests/sched/runxml.c
+++ b/tests/sched/runxml.c
@@ -44,7 +44,7 @@ main (int argc, char *argv[])
g_print ("\n *** using testfile %s\n", argv[1]);
xml = gst_xml_new ();
- gst_xml_parse_file (xml, argv[1], NULL);
+ gst_xml_parse_file (xml, (const guchar *) argv[1], NULL);
toplevelelements = gst_xml_get_topelements (xml);