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
This commit is contained in:
Guillaume Desmottes 2016-05-18 16:00:47 +03:00 committed by Sebastian Dröge
parent e76705dbde
commit 0f19a48c98

View file

@ -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);