aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-23 19:16:05 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-23 19:16:10 +0200
commite1d5d4401f74051e747a6afb6be5d9becc4bda2a (patch)
tree9277a1c325343d862c1efa8f33abe098480c867f /src/main.cpp
parent7e7dfd227eacaa80b21ca8ed99e8a99ccbd47769 (diff)
Revert to opengl_cb for mpv until render_gl becomes common
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 67f4865..6d9a9c0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,6 +2,7 @@
#include "../include/ChannelSidePanel.hpp"
#include "../include/Cache.hpp"
#include "../include/ResourceCache.hpp"
+#include "../include/Video.hpp"
#include <string>
#include <SFML/Graphics.hpp>
#include <cstring>
@@ -27,6 +28,7 @@ int main(int argc, char **argv)
window.setFramerateLimit(60);
//odhtdb::Database database("bootstrap.ring.cx", 4222, Cache::getDchatDir());
+ //Video video(500, 500, "https://www.youtube.com/watch?v=bs0-EX9mJmg");
Cache cache;
@@ -52,6 +54,7 @@ int main(int argc, char **argv)
window.clear(sf::Color(40, 40, 40));
channel.draw(window, sf::Vector2f(channelSidePanel.width, 0.0f), cache);
channelSidePanel.draw(window);
+ //video.draw(window);
window.display();
}