aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp3
-rw-r--r--video_player/src/main.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index a0bd3ea..24c2a87 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -731,6 +731,9 @@ namespace QuickMedia {
mgl::vec2i loading_icon_size = loading_icon.get_size();
load_sprite.set_origin(mgl::vec2f(loading_icon_size.x * 0.5f, loading_icon_size.y * 0.5f));
+ TextureLoader::get_texture("images/search_icon.png");
+ TextureLoader::get_texture("images/arrow.png");
+
struct sigaction action;
action.sa_handler = sigpipe_handler;
sigemptyset(&action.sa_mask);
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;