mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 06:11:27 +00:00
qt: Move debug statement to after the category init
Don't output debug to an uninitialised debug category.
This commit is contained in:
parent
f126403bd6
commit
23fc5e31b0
1 changed files with 1 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue