summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2000-09-27 19:33:10 +0000
committerWim Taymans <wim.taymans@gmail.com>2000-09-27 19:33:10 +0000
commit4e7f031df7bc6c6f9bd29c8ad1bb0fd92dc5cf62 (patch)
treef2dd3112337e6d8b89873a3ef0e6a321b6abeeee /tests
parent9fec44e1c53ee29cb37be4ae33b00e6fabc9ca44 (diff)
Loading and saving of XML pipeline descriptions.
Original commit message from CVS: Loading and saving of XML pipeline descriptions. GladeXML like operation implemented (you can retrieve parts of a pipeline)
Diffstat (limited to 'tests')
-rw-r--r--tests/old/examples/xml/createxml.c6
-rw-r--r--tests/old/examples/xml/runxml.c1
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/old/examples/xml/createxml.c b/tests/old/examples/xml/createxml.c
index 36810a823..9a3210023 100644
--- a/tests/old/examples/xml/createxml.c
+++ b/tests/old/examples/xml/createxml.c
@@ -16,9 +16,11 @@ int main(int argc,char *argv[])
gst_init(&argc,&argv);
/* create a new thread to hold the elements */
- thread = gst_thread_new("thread");
+ //thread = gst_thread_new("thread");
+ thread = gst_elementfactory_make("thread", "thread");
g_assert(thread != NULL);
- thread2 = gst_thread_new("thread2");
+ thread2 = gst_elementfactory_make("thread", "thread2");
+ //thread2 = gst_thread_new("thread2");
g_assert(thread2 != NULL);
/* create a new bin to hold the elements */
diff --git a/tests/old/examples/xml/runxml.c b/tests/old/examples/xml/runxml.c
index b3f8739cf..38b521939 100644
--- a/tests/old/examples/xml/runxml.c
+++ b/tests/old/examples/xml/runxml.c
@@ -14,6 +14,7 @@ int main(int argc,char *argv[])
{
GstXML *xml;
GstElement *bin;
+ GstElement *disk;
gst_init(&argc,&argv);