aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-06 11:16:17 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-06 11:16:17 +0200
commit957e046bf507f6c6139be64082185b12043e97a4 (patch)
tree67fb7bf33f4011e8da8e7562799a3314bd3c5607 /include
parent05df15fb05ed5a8c174ac11edf13aa15060b623d (diff)
Use socketpair instead of unix domain socket
Diffstat (limited to 'include')
-rw-r--r--include/VideoPlayer.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp
index ea99ea1..0d1203b 100644
--- a/include/VideoPlayer.hpp
+++ b/include/VideoPlayer.hpp
@@ -77,14 +77,12 @@ namespace QuickMedia {
bool resume_playback;
bool keep_open;
pid_t video_process_id;
- int ipc_socket;
bool connected_to_ipc;
sf::Clock retry_timer;
int connect_tries;
int find_window_tries;
int monitor_height;
- struct sockaddr_un ipc_addr;
- char ipc_server_path[L_tmpnam];
+ int sockets[2];
EventCallbackFunc event_callback;
VideoPlayerWindowCreateCallback window_create_callback;
sf::WindowHandle window_handle;