diff --git a/testsuite/autoplug/Makefile.am b/testsuite/autoplug/Makefile.am index 511d625ba0..a0b79c63e9 100644 --- a/testsuite/autoplug/Makefile.am +++ b/testsuite/autoplug/Makefile.am @@ -1,9 +1,10 @@ -testprogs = autoplug ## autoplug3 ## autoplug4 # autoplug2 -TESTS = $(testprogs) +# none work currently +TESTS = -check_PROGRAMS = $(testprogs) +check_PROGRAMS = autoplug autoplug2 autoplug3 autoplug4 # we have nothing but apps here, we can do this safely LIBS = $(GST_LIBS) AM_CFLAGS = $(GST_CFLAGS) + diff --git a/testsuite/autoplug/autoplug3.c b/testsuite/autoplug/autoplug3.c index 2925eef23d..a332053abc 100644 --- a/testsuite/autoplug/autoplug3.c +++ b/testsuite/autoplug/autoplug3.c @@ -36,7 +36,7 @@ main (int argc, char *argv[]) gst_bin_add (GST_BIN (pipeline), filesrc); gst_bin_add (GST_BIN (pipeline), element); - gst_element_connect (filesrc, "src", element, "sink"); + gst_element_link_pads (filesrc, "src", element, "sink"); g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);