fix set_property_flag

This commit is contained in:
psykose 2024-10-18 10:56:48 +02:00
parent d2f5a564e7
commit cb180857c9

View file

@ -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")]