added UI items for a rolling edit tool

This commit is contained in:
itsmattkc
2019-07-09 01:14:32 -05:00
parent 7b870de338
commit ce1e189a3d
8 changed files with 28 additions and 0 deletions
+13
View File
@@ -26,6 +26,11 @@
* Use the navigation above to find documentation on classes or source files.
*/
extern "C" {
#include <libavformat/avformat.h>
#include <libavfilter/avfilter.h>
}
#include <QApplication>
#include <QSurfaceFormat>
@@ -51,6 +56,14 @@ int main(int argc, char *argv[]) {
format.setProfile(QSurfaceFormat::CoreProfile);
QSurfaceFormat::setDefaultFormat(format);
// Register FFmpeg codecs and filters (deprecated in 4.0+)
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
#endif
#if LIBAVFILTER_VERSION_INT < AV_VERSION_INT(7, 14, 100)
avfilter_register_all();
#endif
// Start core
olive::core.Start();