tools/templates/main.cpp
author Vittorio Giovara <vittorio.giovara@gmail.com>
Tue, 10 Nov 2015 13:53:12 +0100
changeset 11348 44248a9cdcac
parent 359 59fbfc65fbda
permissions -rw-r--r--
videorec: Fix flushing encoders When passing NULL frames, encoders empty their queues, but we have to stop polling from them when they don't any more data.

#include <QApplication>

#include "mainform.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MyWindow *mainWin = new MyWindow;
    mainWin->show();
    return app.exec();
}