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
This commit is contained in:
Jan Schmidt 2009-10-07 16:00:12 +01:00
parent 4446a6276b
commit 8b90cf1be1

View file

@ -412,6 +412,7 @@ gst_dp_suite (void)
TCase *tc_chain = tcase_create ("general"); TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain); suite_add_tcase (s, tc_chain);
tcase_add_checked_fixture (tc_chain, gst_dp_init, NULL);
tcase_add_test (tc_chain, test_conversion); tcase_add_test (tc_chain, test_conversion);
#ifndef GST_REMOVE_DEPRECATED #ifndef GST_REMOVE_DEPRECATED
tcase_add_test (tc_chain, test_buffer); tcase_add_test (tc_chain, test_buffer);