More testsuite updates

Original commit message from CVS:
More testsuite updates
This commit is contained in:
Wim Taymans 2001-05-16 22:08:58 +00:00
parent d374791e8b
commit 137e5a6d93
4 changed files with 6 additions and 4 deletions

View file

@ -1,12 +1,13 @@
SUBDIRS =
testprogs = object element pad element_pad bin
testprogs = object element pad element_pad bin thread
object_SOURCES = object.c mem.c
element_SOURCES = element.c mem.c
pad_SOURCES = pad.c mem.c
element_pad_SOURCES = element_pad.c mem.c
bin_SOURCES = bin.c mem.c
thread_SOURCES = thread.c mem.c
TESTS = $(testprogs)

View file

@ -37,7 +37,7 @@ create_bin_ghostpads (void)
gst_element_add_pad (element2, gst_pad_new ("sink1", GST_PAD_SINK));
gst_bin_add (GST_BIN (bin), element2);
gst_element_connect (element1, "src1", element2, "sink1");
gst_element_add_ghost_pad (bin, gst_element_get_pad (element2, "sink1"), "sink1");
gst_element_add_ghost_pad (bin, gst_element_get_pad (element2, "sink1"), "ghost_sink");
return bin;
}

View file

@ -1,12 +1,13 @@
SUBDIRS =
testprogs = object element pad element_pad bin
testprogs = object element pad element_pad bin thread
object_SOURCES = object.c mem.c
element_SOURCES = element.c mem.c
pad_SOURCES = pad.c mem.c
element_pad_SOURCES = element_pad.c mem.c
bin_SOURCES = bin.c mem.c
thread_SOURCES = thread.c mem.c
TESTS = $(testprogs)

View file

@ -37,7 +37,7 @@ create_bin_ghostpads (void)
gst_element_add_pad (element2, gst_pad_new ("sink1", GST_PAD_SINK));
gst_bin_add (GST_BIN (bin), element2);
gst_element_connect (element1, "src1", element2, "sink1");
gst_element_add_ghost_pad (bin, gst_element_get_pad (element2, "sink1"), "sink1");
gst_element_add_ghost_pad (bin, gst_element_get_pad (element2, "sink1"), "ghost_sink");
return bin;
}