From 53448dd1f4cff1bd2b638d7c63b18848f2462229 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 7 Jul 2024 01:46:24 +0200 Subject: Fix some videos not playing (on 4chan for example), caused by option removed (cache-dir), replaced with demuxer-cache-dir --- src/VideoPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3