mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
9f5ccfc9b4
commit
d04d01cc3b
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ element_create (char *name, char *element)
|
||||||
{
|
{
|
||||||
GstElement *el = NULL;
|
GstElement *el = NULL;
|
||||||
|
|
||||||
el = (GstElement *) element_create (element, name);
|
el = (GstElement *) gst_elementfactory_make (element, name);
|
||||||
if (el == NULL)
|
if (el == NULL)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "Could not create element %s (%s) !\n", name, element);
|
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));
|
gst_bin_iterate (GST_BIN (pipeline));
|
||||||
|
|
||||||
g_print ("Done !\n");
|
g_print ("Done !\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ element_create (char *name, char *element)
|
||||||
{
|
{
|
||||||
GstElement *el = NULL;
|
GstElement *el = NULL;
|
||||||
|
|
||||||
el = (GstElement *) element_create (element, name);
|
el = (GstElement *) gst_elementfactory_make (element, name);
|
||||||
if (el == NULL)
|
if (el == NULL)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "Could not create element %s (%s) !\n", name, element);
|
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));
|
gst_bin_iterate (GST_BIN (pipeline));
|
||||||
|
|
||||||
g_print ("Done !\n");
|
g_print ("Done !\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue