From 8b90cf1be11add7a633f809ea30e8911957752d8 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 7 Oct 2009 16:00:12 +0100 Subject: [PATCH] check: Make sure to init the dataprotocol lib. Call the gst_dp_init() function to ensure that the debug category is initialised, to avoid g_criticals when running with GST_DEBUG=5 --- tests/check/libs/gdp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/libs/gdp.c b/tests/check/libs/gdp.c index dc7c33bda9..77aeceaf93 100644 --- a/tests/check/libs/gdp.c +++ b/tests/check/libs/gdp.c @@ -412,6 +412,7 @@ gst_dp_suite (void) TCase *tc_chain = tcase_create ("general"); suite_add_tcase (s, tc_chain); + tcase_add_checked_fixture (tc_chain, gst_dp_init, NULL); tcase_add_test (tc_chain, test_conversion); #ifndef GST_REMOVE_DEPRECATED tcase_add_test (tc_chain, test_buffer);