qt: perform surface creation in the main thread
authorMatthew Waters <matthew@centricular.com>
Mon, 27 Apr 2020 05:34:15 +0000 (15:34 +1000)
committerMatthew Waters <matthew@centricular.com>
Mon, 27 Apr 2020 08:19:31 +0000 (18:19 +1000)
commit05108c28986f9d8cecd67fbf71ff56730b5b0a3d
treecc82028e5a855ef3e4ee503fa36245789652a681
parent3ae1bae2a325e5e24cb10ccb27b829b40116f477
qt: perform surface creation in the main thread

As is required when creating a QWindow instance set out in the Qt
documentation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/575>
ext/qt/qtglrenderer.cc
ext/qt/qtglrenderer.h