From cb180857c9a329a7241ac5714d945e09d147fdc8 Mon Sep 17 00:00:00 2001 From: psykose Date: Fri, 18 Oct 2024 10:56:48 +0200 Subject: [PATCH] fix set_property_flag --- src/vapi/mpv.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vapi/mpv.vapi b/src/vapi/mpv.vapi index b599979..f3d8ade 100644 --- a/src/vapi/mpv.vapi +++ b/src/vapi/mpv.vapi @@ -59,7 +59,7 @@ namespace Mpv { public Error set_property_flag (string name, bool value) { int flag = value ? 1 : 0; - return this.set_property (name, Format.INT64, &flag); + return this.set_property (name, Format.FLAG, &flag); } [CCode (cname = "mpv_command")]