[farsight2/master] Give the fakesrc a more meaningful name
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:41 PST 2008
---
tests/check/transmitter/generic.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tests/check/transmitter/generic.c b/tests/check/transmitter/generic.c
index bbb6407..3f19f24 100644
--- a/tests/check/transmitter/generic.c
+++ b/tests/check/transmitter/generic.c
@@ -52,8 +52,11 @@ setup_fakesrc (FsTransmitter *trans, GstElement *pipeline, guint component_id)
GstElement *src;
GstElement *trans_sink;
gchar *padname;
+ gchar *tmp;
- src = gst_element_factory_make ("fakesrc", NULL);
+ tmp = g_strdup_printf ("fakemediasrc_%d", component_id);
+ src = gst_element_factory_make ("fakesrc", tmp);
+ g_free (tmp);
g_object_set (src,
"num-buffers", 20,
"sizetype", 2,
--
1.5.6.5
More information about the farsight-commits
mailing list