aboutsummaryrefslogtreecommitdiff
path: root/include/VideoPlayer.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-06-28 00:03:27 +0200
committerdec05eba <dec05eba@protonmail.com>2020-06-28 00:03:27 +0200
commit52d2bcde946b4cc05932db347bce44d2fd518865 (patch)
treed67f8dcff6cfd44823834571cad1c5fc2ed487de /include/VideoPlayer.hpp
parentdd7f669c797d8bf844140001a094f87f28188351 (diff)
Add --use-system-mpv-config option
Diffstat (limited to 'include/VideoPlayer.hpp')
-rw-r--r--include/VideoPlayer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp
index e1763f6..4dc7b53 100644
--- a/include/VideoPlayer.hpp
+++ b/include/VideoPlayer.hpp
@@ -35,7 +35,7 @@ namespace QuickMedia {
};
// @event_callback is called from another thread
- VideoPlayer(bool use_tor, EventCallbackFunc event_callback, VideoPlayerWindowCreateCallback window_create_callback);
+ VideoPlayer(bool use_tor, bool use_system_mpv_config, EventCallbackFunc event_callback, VideoPlayerWindowCreateCallback window_create_callback);
~VideoPlayer();
VideoPlayer(const VideoPlayer&) = delete;
VideoPlayer& operator=(const VideoPlayer&) = delete;
@@ -66,6 +66,7 @@ namespace QuickMedia {
VideoPlayer::Error read_ipc_func();
private:
bool use_tor;
+ bool use_system_mpv_config;
pid_t video_process_id;
int ipc_socket;
bool connected_to_ipc;