[farsight2/master] Fill fakesrc buffer to make valgrind happier
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:30 PST 2008
---
tests/check/transmitter/generic.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/check/transmitter/generic.c b/tests/check/transmitter/generic.c
index f500eea..1529507 100644
--- a/tests/check/transmitter/generic.c
+++ b/tests/check/transmitter/generic.c
@@ -53,8 +53,13 @@ setup_fakesrc (FsTransmitter *trans, GstElement *pipeline, guint component_id)
gchar *padname;
src = gst_element_factory_make ("fakesrc", NULL);
- g_object_set (src, "num-buffers", 20, "sizetype", 2, "sizemax",
- component_id * 10, "is-live", TRUE, NULL);
+ g_object_set (src,
+ "num-buffers", 20,
+ "sizetype", 2,
+ "sizemax", component_id * 10,
+ "is-live", TRUE,
+ "filltype", 2,
+ NULL);
fail_unless (gst_bin_add (GST_BIN (pipeline), src),
"Could not add the fakesrc");
--
1.5.6.5
More information about the farsight-commits
mailing list