aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-03-27 15:54:37 +0100
committerdec05eba <dec05eba@protonmail.com>2021-03-27 15:54:37 +0100
commit3eca2373621b4fbd3189df75ada884861536113a (patch)
treef4aafe02525ef5cf2a6f4bd1e250a60e6ff0453d /include
parent54607d704bcfc757fa2cdbe3f0154bc39e95194c (diff)
bla
Diffstat (limited to 'include')
-rw-r--r--include/VideoPlayer.hpp5
1 files changed, 2 insertions, 3 deletions
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;