X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=main.cpp;h=fd41e0bd67bafdd710935d119a11a42b9d355e94;hb=d7bba4abb3d56893399578f0540b9ded0a28380f;hp=b39208fab53630eda018d94201d19ce94d366596;hpb=4159eda78000e5ce498cd6ce31da5e750c2c0a42;p=nageru diff --git a/main.cpp b/main.cpp index b39208f..fd41e0b 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,8 @@ +extern "C" { +#include +} +#include +#include #include #include @@ -8,6 +13,7 @@ #include #include "context.h" +#include "flags.h" #include "mainwindow.h" #include "mixer.h" @@ -16,6 +22,7 @@ int main(int argc, char *argv[]) setenv("QT_XCB_GL_INTEGRATION", "xcb_egl", 0); setlinebuf(stdout); av_register_all(); + parse_flags(argc, argv); QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true); QApplication app(argc, argv);