]> git.sesse.net Git - nageru/blobdiff - main.cpp
Add a HTTP server for stream output.
[nageru] / main.cpp
index 2b5dc066266261881b8c662fe5914560139614a1..6e95d18de6103415cad06f45c53036c70dd6069e 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -14,6 +14,8 @@
 int main(int argc, char *argv[])
 {
        setenv("QT_XCB_GL_INTEGRATION", "xcb_egl", 0);
+       setlinebuf(stdout);
+       av_register_all();
 
        QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
        QApplication app(argc, argv);