From 05a5413108e33ebbca699303baf1fe13a91eff2a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 13 Mar 2022 05:43:44 +0100 Subject: youtube: fix long videos not working (int64_t in video seek), ctrl+r not working because searchbar and tab images loaded in non-main thread --- video_player/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video_player/src') diff --git a/video_player/src/main.cpp b/video_player/src/main.cpp index e166e85..2c6dba4 100644 --- a/video_player/src/main.cpp +++ b/video_player/src/main.cpp @@ -401,7 +401,7 @@ static int64_t size_fn(void *cookie) { "--", program->url, nullptr }; ReadProgram header_program; - int res = exec_program_pipe(args, &header_program); + int64_t res = exec_program_pipe(args, &header_program); if(res != 0) return MPV_ERROR_UNSUPPORTED; -- cgit v1.2.3