diff options
author | Jan Schmidt <jan@centricular.com> | 2016-08-08 13:41:14 +1000 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2016-08-16 00:43:39 +1000 |
commit | 23fc5e31b0ccbe436af3b9bc41a2e60b30f8e874 (patch) | |
tree | 533a40605f54ac7b661e7fe64d3a064b6c853cdf | |
parent | f126403bd61a27224cfd4d0dafde32daea9fc0c9 (diff) |
qt: Move debug statement to after the category init
Don't output debug to an uninitialised debug category.
-rw-r--r-- | ext/qt/gstqtglutility.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/qt/gstqtglutility.cc b/ext/qt/gstqtglutility.cc index 3753037c2..84061202c 100644 --- a/ext/qt/gstqtglutility.cc +++ b/ext/qt/gstqtglutility.cc @@ -57,13 +57,12 @@ gst_qt_get_gl_display () g_assert (app != NULL); - GST_INFO ("QGuiApplication::instance()->platformName() %s", app->platformName().toUtf8().data()); - if (g_once_init_enter (&_debug)) { GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglutility", 0, "Qt gl utility functions"); g_once_init_leave (&_debug, 1); } + GST_INFO ("QGuiApplication::instance()->platformName() %s", app->platformName().toUtf8().data()); #if GST_GL_HAVE_WINDOW_X11 && defined (HAVE_QT_X11) if (QString::fromUtf8 ("xcb") == app->platformName()) |