aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-07 01:46:24 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-07 01:46:24 +0200
commit53448dd1f4cff1bd2b638d7c63b18848f2462229 (patch)
treefa720720bfb2751bf5e0bd6a85ac886aa691ae5f
parent33167be93badbd69f703b2c081b0bb6df3a65ce6 (diff)
Fix some videos not playing (on 4chan for example), caused by option removed (cache-dir), replaced with demuxer-cache-dir
-rw-r--r--src/VideoPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp
index f263fc9..3aa4eca 100644
--- a/src/VideoPlayer.cpp
+++ b/src/VideoPlayer.cpp
@@ -159,7 +159,7 @@ namespace QuickMedia {
fcntl(ipc_socket, F_SETFL, flags | O_NONBLOCK);
const std::string ipc_fd = std::to_string(fd[1]);
- std::string cache_dir = "--cache-dir=" + std::move(get_cache_dir().join("media").data);
+ std::string cache_dir = "--demuxer-cache-dir=" + std::move(get_cache_dir().join("media").data);
std::string wid_arg = "--wid=";
wid_arg += std::to_string(startup_args.parent_window);