From 09c359e1d329d7f7769c0ffc9996c12dab883ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Wed, 22 May 2024 00:52:09 +0200 Subject: [PATCH] test/libmpv_encode: print logs also during initialize --- test/libmpv_encode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libmpv_encode.c b/test/libmpv_encode.c index 7cc0eb1296..c3c804f543 100644 --- a/test/libmpv_encode.c +++ b/test/libmpv_encode.c @@ -122,12 +122,12 @@ int main(int argc, char *argv[]) check_api_error(mpv_set_option_string(ctx, "o", out_path)); check_api_error(mpv_set_option_string(ctx, "of", "matroska")); check_api_error(mpv_set_option_string(ctx, "end", "1.5")); + check_api_error(mpv_set_option_string(ctx, "terminal", "yes")); + check_api_error(mpv_set_option_string(ctx, "msg-level", "all=v")); if (mpv_initialize(ctx) != 0) return 1; - check_api_error(mpv_set_option_string(ctx, "terminal", "yes")); - check_api_error(mpv_set_option_string(ctx, "msg-level", "all=v")); check_api_error(mpv_set_option_string(ctx, "idle", "once")); const char *cmd[] = {"loadfile", "av://lavfi:testsrc", NULL};