aboutsummaryrefslogtreecommitdiff
path: root/include/VideoPlayer.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-03-30 00:45:51 +0200
committerdec05eba <dec05eba@protonmail.com>2021-03-30 00:45:51 +0200
commit539d9b457c4f30ef0731a479772212e7ce8bfd7c (patch)
tree256aae0d3524918ba80d609cadd9063cd06fb453 /include/VideoPlayer.hpp
parent3ac540c21116cb9cc91cfd1d7b0dd6f6ded31123 (diff)
Remove tor option. Use torsocks instead (which is what quickmedia did anyways)
Diffstat (limited to 'include/VideoPlayer.hpp')
-rw-r--r--include/VideoPlayer.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp
index adb19c8..ea99ea1 100644
--- a/include/VideoPlayer.hpp
+++ b/include/VideoPlayer.hpp
@@ -36,7 +36,7 @@ namespace QuickMedia {
};
// @event_callback is called from another thread
- VideoPlayer(bool use_tor, bool no_video, bool use_system_mpv_config, bool resume_playback, bool keep_open, EventCallbackFunc event_callback, VideoPlayerWindowCreateCallback window_create_callback, const std::string &resource_root, int monitor_height);
+ VideoPlayer(bool no_video, bool use_system_mpv_config, bool resume_playback, bool keep_open, EventCallbackFunc event_callback, VideoPlayerWindowCreateCallback window_create_callback, const std::string &resource_root, int monitor_height);
~VideoPlayer();
VideoPlayer(const VideoPlayer&) = delete;
VideoPlayer& operator=(const VideoPlayer&) = delete;
@@ -72,7 +72,6 @@ namespace QuickMedia {
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;
bool no_video;
bool use_system_mpv_config;
bool resume_playback;