]> git.sesse.net Git - nageru/blobdiff - main.cpp
Decode 4:2:2 JPEGs via VA-API if available.
[nageru] / main.cpp
index dcb6f10674e280a70d8e19b394b03f1503538e2b..9bb666a317984e29deaecfea227377086a8987fc 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -30,6 +30,7 @@ extern "C" {
 #include "ref_counted_gl_sync.h"
 #include "timebase.h"
 #include "ui_mainwindow.h"
+#include "vaapi_jpeg_decoder.h"
 
 using namespace std;
 using namespace std::chrono;
@@ -97,6 +98,8 @@ int main(int argc, char **argv)
 
        thread(record_thread_func).detach();
 
+       init_jpeg_vaapi();
+
        return app.exec();
 }