diff options
author | Jan Schmidt <jan@centricular.com> | 2016-08-08 13:41:14 +1000 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2016-08-16 02:33:52 +1000 |
commit | f2b983967c0b0f2a16fde8710aa6f4464b5630c1 (patch) | |
tree | 593a1f89239f26a73324bfdd1975456faeda0b58 | |
parent | 15a632fe254ace0f995eaa742d07fb92195439c5 (diff) | |
download | gstreamer-plugins-bad-f2b983967c0b0f2a16fde8710aa6f4464b5630c1.tar.gz |
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()) |