summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-08-06 13:05:36 +0200
committersfan5 <sfan5@live.de>2023-08-06 18:49:54 +0200
commitb68491e9a6431aeb26fda2112565c0dd6ff7dd0e (patch)
tree450f9456db8522c5b7bdd3dd350e5b7916917413 /test
parent5d71f858c2cfdce0e45ffe684b1cccbf8a1f1757 (diff)
downloadmpv-b68491e9a6431aeb26fda2112565c0dd6ff7dd0e.tar.bz2
mpv-b68491e9a6431aeb26fda2112565c0dd6ff7dd0e.tar.xz
test: enable log messages for libmpv test
Diffstat (limited to 'test')
-rw-r--r--test/libmpv_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/libmpv_test.c b/test/libmpv_test.c
index 5f8436355d..909cc08ad4 100644
--- a/test/libmpv_test.c
+++ b/test/libmpv_test.c
@@ -253,8 +253,9 @@ int main(int argc, char *argv[])
if (!ctx)
return 1;
- // Use tct for all video-related stuff.
- check_api_error(mpv_set_property_string(ctx, "vo", "tct"));
+ check_api_error(mpv_set_option_string(ctx, "vo", "null"));
+ check_api_error(mpv_set_option_string(ctx, "terminal", "yes"));
+ check_api_error(mpv_set_option_string(ctx, "msg-level", "all=debug"));
test_options_and_properties();
test_file_loading(argv[1]);