diff options
Diffstat (limited to 'pica-client/main.cpp')
| -rw-r--r-- | pica-client/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pica-client/main.cpp b/pica-client/main.cpp index 0fae44c..cc3d90b 100644 --- a/pica-client/main.cpp +++ b/pica-client/main.cpp @@ -28,6 +28,7 @@ #include "audiovideocallcontroller.h" #include "picaactioncenter.h" #include "picasystray.h" +#include "vaapi.h" #include <QDir> #include <QMessageBox> #include <QString> @@ -500,6 +501,12 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); +#ifdef HAVE_VAAPI + // Decoded hardware frames travel from the decoding thread to the widget + // drawing them through queued signals, which needs their type registered. + VaapiContext::registerMetaTypes(); +#endif + #ifdef WIN32 config_resourceDir = QLatin1String("share\\"); #elif defined(__APPLE__) |
