2014-03-29 18:49:22 -05:00
|
|
|
/**
|
|
|
|
|
* @file
|
|
|
|
|
* @brief Demo Qt application to test the QtPlayer class
|
|
|
|
|
* @author Jonathan Thomas <jonathan@openshot.org>
|
|
|
|
|
*
|
2019-06-09 08:31:04 -04:00
|
|
|
* @ref License
|
|
|
|
|
*/
|
|
|
|
|
|
2021-10-16 01:26:26 -04:00
|
|
|
// Copyright (c) 2008-2019 OpenShot Studios, LLC
|
|
|
|
|
//
|
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
2014-03-29 18:49:22 -05:00
|
|
|
|
2020-10-18 05:10:33 -04:00
|
|
|
#include "Qt/PlayerDemo.h"
|
2021-02-04 17:28:07 -06:00
|
|
|
#include "ZmqLogger.h"
|
2020-10-18 05:10:33 -04:00
|
|
|
#include <QApplication>
|
2014-01-25 03:38:38 +08:00
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
2021-02-04 17:28:07 -06:00
|
|
|
// Enable logging for openshot-player since this is primarily used for
|
|
|
|
|
// profiling and debugging video playback issues.
|
|
|
|
|
openshot::ZmqLogger::Instance()->Enable(true);
|
|
|
|
|
openshot::ZmqLogger::Instance()->Path("./player.log");
|
|
|
|
|
|
2014-01-25 03:38:38 +08:00
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
PlayerDemo demo;
|
|
|
|
|
demo.show();
|
|
|
|
|
return app.exec();
|
|
|
|
|
}
|