check: Make sure to init the dataprotocol lib.
authorJan Schmidt <thaytan@noraisin.net>
Wed, 7 Oct 2009 15:00:12 +0000 (16:00 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 7 Oct 2009 15:14:02 +0000 (16:14 +0100)
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

index dc7c33b..77aecea 100644 (file)
@@ -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);