mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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:
parent
4446a6276b
commit
8b90cf1be1
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue