export: made progress on headless export

Still incomplete and unusable, but less so than before.
This commit is contained in:
itsmattkc
2020-06-17 18:06:50 +10:00
parent c3c26a8e24
commit a818e17c55
14 changed files with 337 additions and 88 deletions
+1 -19
View File
@@ -86,23 +86,5 @@ int main(int argc, char *argv[]) {
avfilter_register_all();
#endif
int exit_code;
// Start core
if (OLIVE_NAMESPACE::Core::instance()->Start()) {
// Run application loop and receive exit code
exit_code = a.exec();
} else {
// Core failed to start, exit now
exit_code = 1;
}
// Clear core memory
OLIVE_NAMESPACE::Core::instance()->Stop();
return exit_code;
return OLIVE_NAMESPACE::Core::instance()->execute(&a);
}