From afaeec665a71d95d58eddd682bafa4464da8a0f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 23 Jan 2016 16:00:48 +0000 Subject: [PATCH] tests: info: make work without registry --- tests/check/gst/gstinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/gst/gstinfo.c b/tests/check/gst/gstinfo.c index 3524938..4a6d483 100644 --- a/tests/check/gst/gstinfo.c +++ b/tests/check/gst/gstinfo.c @@ -240,7 +240,7 @@ GST_START_TEST (info_dump_mem) 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, '%', 's', '%', 's' }; - e = gst_element_factory_make ("fakesink", NULL); + e = gst_pipeline_new ("pipeline"); GST_DEBUG_CATEGORY_INIT (cat, "dumpcat", 0, "data dump debug category"); GST_MEMDUMP ("quicktime header", data, sizeof (data)); GST_MEMDUMP (NULL, data, sizeof (data)); @@ -257,7 +257,7 @@ GST_START_TEST (info_fixme) GstDebugCategory *cat = NULL; GstElement *e; - e = gst_element_factory_make ("fakesink", NULL); + e = gst_pipeline_new ("pipeline"); GST_DEBUG_CATEGORY_INIT (cat, "fixcat", 0, "FIXME debug category"); GST_FIXME ("fix %s thing", "this"); GST_FIXME_OBJECT (e, "fix %s object", "this"); -- 2.7.4