From fbe295f275227e9f1537aecdab89a3fabbb0b9c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 24 Apr 2013 11:07:30 +0200 Subject: [PATCH] streamsynchronizer: Create element with gst_element_factory_make() Otherwise plugin_init() is not called and initialization is missing. --- tests/check/elements/streamsynchronizer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/check/elements/streamsynchronizer.c b/tests/check/elements/streamsynchronizer.c index 5aace4b1c6..c72359179b 100644 --- a/tests/check/elements/streamsynchronizer.c +++ b/tests/check/elements/streamsynchronizer.c @@ -24,8 +24,6 @@ #define GLIB_DISABLE_DEPRECATION_WARNINGS -#include "../../../gst/playback/gststreamsynchronizer.c" - #undef GST_CAT_DEFAULT #include @@ -192,7 +190,7 @@ GST_START_TEST (test_basic) GstSegment segment; guint32 seqnum; - synchr = g_object_new (GST_TYPE_STREAM_SYNCHRONIZER, NULL); + synchr = gst_element_factory_make ("streamsynchronizer", NULL); /* Get sinkpad/srcpad */ sinkpad = gst_element_get_request_pad (synchr, "sink_%u");