summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-05-18 16:00:47 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-05-21 09:57:54 +0300
commit0f19a48c98d20e6d09f77e7243f9a77c37a52b02 (patch)
treeb42a88bc87972ee910def4f012fa428b0ae8d6d2 /tests
parente76705dbde5d25fbc0fa528bbb89989be00773cb (diff)
player: use gst_check_init() in test
Calling GST_DEBUG() in test rely on the default category to be defined, which is done in gst_check_init(). https://bugzilla.gnome.org/show_bug.cgi?id=766607
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/player.c b/tests/check/libs/player.c
index 5586e63dd..3f2b25f40 100644
--- a/tests/check/libs/player.c
+++ b/tests/check/libs/player.c
@@ -1485,7 +1485,7 @@ main (int argc, char **argv)
Suite *s;
SRunner *sr;
- gst_init (NULL, NULL);
+ gst_check_init (&argc, &argv);
s = player_suite ();
sr = srunner_create (s);