From 6cbcaba2a80c47714e8aa45d021bdcd4965780b1 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Thu, 10 Aug 2023 14:15:00 +0800 Subject: ui: show progress while remuxing --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index ecd9381..4930b1c 100644 --- a/src/main.c +++ b/src/main.c @@ -29,6 +29,7 @@ #include "style.h" #include "ui.h" #include "unifont.h" +#include "utils/ffmpeg.h" extern int win_width, win_height; static char *cookie; @@ -118,6 +119,7 @@ int main(void) { status_t stat = {0}; stat.is_done = true; ui.stat = &stat; + setup_stat(&stat); /* create context */ ui.ctx = nk_glfw3_init(&glfw, win, NK_GLFW3_INSTALL_CALLBACKS); -- cgit v1.2.3