Pues ahora hay doble buffer
Falta el hilo que descargue el video de youtube, que se dice mas pronto que se hace
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@@ -13,8 +13,13 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
QGuiApplication app(argc, argv);
|
||||
|
||||
// qmlRegisterType<PlaylistController>("MediaSystem", 1, 0,
|
||||
// "PlaylistController");
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
|
||||
// engine.addImportPath(app.applicationDirPath());
|
||||
|
||||
PlaylistController playlist;
|
||||
engine.rootContext()->setContextProperty("playlist", &playlist);
|
||||
|
||||
@@ -26,10 +31,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
engine.load(url);
|
||||
|
||||
Logger::info("Engine loaded");
|
||||
|
||||
playlist.addToQueue("../ui/media/video.mp4");
|
||||
playlist.addToQueue("../ui/media/Puta.mp4");
|
||||
Logger::info("Engine loaded");
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user