diff --git a/main.cpp b/main.cpp index 6f6ff5640..f313bff71 100644 --- a/main.cpp +++ b/main.cpp @@ -82,6 +82,10 @@ int main(int argc, char *argv[]) { qInstallMessageHandler(debug_message_handler); } + // init ffmpeg subsystem + av_register_all(); + avfilter_register_all(); + QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); QApplication a(argc, argv);