Files

29 lines
691 B
C++
Raw Permalink Normal View History

/**
* @file
* @brief Demo Qt application to test the QtPlayer class
* @author Jonathan Thomas <jonathan@openshot.org>
*
* @ref License
*/
// Copyright (c) 2008-2019 OpenShot Studios, LLC
//
// SPDX-License-Identifier: LGPL-3.0-or-later
2020-10-18 05:10:33 -04:00
#include "Qt/PlayerDemo.h"
#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[])
{
// 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();
}