trying to write a test for tee first

Original commit message from CVS:
trying to write a test for tee first
This commit is contained in:
Thomas Vander Stichele 2002-02-05 10:55:21 +00:00
parent 9f5ccfc9b4
commit d04d01cc3b
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ element_create (char *name, char *element)
{
GstElement *el = NULL;
el = (GstElement *) element_create (element, name);
el = (GstElement *) gst_elementfactory_make (element, name);
if (el == NULL)
{
fprintf (stderr, "Could not create element %s (%s) !\n", name, element);
@ -64,6 +64,6 @@ main (int argc, char *argv[])
gst_bin_iterate (GST_BIN (pipeline));
g_print ("Done !\n");
return 1;
return 0;
}

View file

@ -17,7 +17,7 @@ element_create (char *name, char *element)
{
GstElement *el = NULL;
el = (GstElement *) element_create (element, name);
el = (GstElement *) gst_elementfactory_make (element, name);
if (el == NULL)
{
fprintf (stderr, "Could not create element %s (%s) !\n", name, element);
@ -64,6 +64,6 @@ main (int argc, char *argv[])
gst_bin_iterate (GST_BIN (pipeline));
g_print ("Done !\n");
return 1;
return 0;
}