summaryrefslogtreecommitdiff
path: root/tests/dlna-encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dlna-encoding.c')
-rw-r--r--tests/dlna-encoding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/dlna-encoding.c b/tests/dlna-encoding.c
index b61cdfe..79528a9 100644
--- a/tests/dlna-encoding.c
+++ b/tests/dlna-encoding.c
@@ -199,7 +199,9 @@ main (int argc, char **argv)
GUPnPDLNAProfile *profile;
gchar *inputuri;
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
ctx = g_option_context_new ("- encode URIs with GstProfile and encodebin");
g_option_context_add_main_entries (ctx, options, NULL);