From 40e0f8f5d8c3e480f01a2d71b6a493247adcb77f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 21 Sep 2020 03:49:17 +0200 Subject: Initial matrix support --- src/VideoPlayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/VideoPlayer.cpp') diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index e8f8795..0811c74 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -19,6 +19,7 @@ const int READ_TIMEOUT_MS = 200; namespace QuickMedia { VideoPlayer::VideoPlayer(bool use_tor, bool use_system_mpv_config, EventCallbackFunc _event_callback, VideoPlayerWindowCreateCallback _window_create_callback) : + exit_status(0), use_tor(use_tor), use_system_mpv_config(use_system_mpv_config), video_process_id(-1), @@ -26,7 +27,6 @@ namespace QuickMedia { connected_to_ipc(false), connect_tries(0), find_window_tries(0), - exit_status(0), event_callback(_event_callback), window_create_callback(_window_create_callback), window_handle(0), @@ -58,7 +58,7 @@ namespace QuickMedia { XCloseDisplay(display); } - VideoPlayer::Error VideoPlayer::launch_video_process(const char *path, sf::WindowHandle _parent_window, const std::string &plugin_name) { + VideoPlayer::Error VideoPlayer::launch_video_process(const char *path, sf::WindowHandle _parent_window, const std::string&) { parent_window = _parent_window; if(!tmpnam(ipc_server_path)) { -- cgit v1.2.3