aboutsummaryrefslogtreecommitdiff
path: root/include/VideoPlayer.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-13 13:48:30 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-13 13:49:50 +0200
commitdc72e253df77c9126c720e7ff5dad7f8c72bd117 (patch)
tree7f862456a8d20d2f615b0a900090c2a3baf4bd34 /include/VideoPlayer.hpp
parentb96dce2d670e085067d7b62b43fceac7658c2d5a (diff)
Temporary disable youtube recommendations, fix youtube related videos
Diffstat (limited to 'include/VideoPlayer.hpp')
-rw-r--r--include/VideoPlayer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp
index c5d9cfe..9501e26 100644
--- a/include/VideoPlayer.hpp
+++ b/include/VideoPlayer.hpp
@@ -42,7 +42,7 @@ namespace QuickMedia {
VideoPlayer& operator=(const VideoPlayer&) = delete;
// @path can also be an url if youtube-dl is installed and accessible to mpv
- Error load_video(const char *path, sf::WindowHandle parent_window);
+ Error load_video(const char *path, sf::WindowHandle parent_window, const std::string &plugin_name);
// Should be called every update frame
Error update();
@@ -63,7 +63,7 @@ namespace QuickMedia {
Error set_property(const std::string &property_name, const Json::Value &value);
Error get_property(const std::string &property_name, Json::Value *result, Json::ValueType result_type);
Error send_command(const char *cmd, size_t size);
- Error launch_video_process(const char *path, sf::WindowHandle parent_window);
+ Error launch_video_process(const char *path, sf::WindowHandle parent_window, const std::string &plugin_name);
VideoPlayer::Error read_ipc_func();
private:
bool use_tor;