From bd5b2cf036d4c168aa1a965fa88f4567bda093d6 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 13 Feb 2019 11:00:32 -0800 Subject: [PATCH] reverted init functions from ffmpeg 3 --- main.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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);