aboutsummaryrefslogtreecommitdiff
path: root/video_player
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-13 05:43:44 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-13 05:43:44 +0100
commit05a5413108e33ebbca699303baf1fe13a91eff2a (patch)
tree9ab4f4986ac07ebbde238617ac4a31d72b03b4b2 /video_player
parentc3819073118488ffef5482957758d65be8c33cec (diff)
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
Diffstat (limited to 'video_player')
-rw-r--r--video_player/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;