From 3eca2373621b4fbd3189df75ada884861536113a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 27 Mar 2021 15:54:37 +0100 Subject: bla --- include/VideoPlayer.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp index b2326bb..adb19c8 100644 --- a/include/VideoPlayer.hpp +++ b/include/VideoPlayer.hpp @@ -41,8 +41,7 @@ namespace QuickMedia { VideoPlayer(const VideoPlayer&) = delete; 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, const std::string &plugin_name); + Error load_video(const char *path, sf::WindowHandle parent_window, const std::string &plugin_name, const std::string &title); // Should be called every update frame Error update(); @@ -70,7 +69,7 @@ namespace QuickMedia { int exit_status; private: Error send_command(const char *cmd, size_t size); - Error launch_video_process(const char *path, sf::WindowHandle parent_window, const std::string &plugin_name); + Error launch_video_process(const char *path, sf::WindowHandle parent_window, const std::string &plugin_name, const std::string &title); VideoPlayer::Error read_ipc_func(); private: bool use_tor; -- cgit v1.2.3