fix set_property_flag
This commit is contained in:
parent
d2f5a564e7
commit
cb180857c9
1 changed files with 1 additions and 1 deletions
|
@ -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")]
|
||||
|
|
Loading…
Reference in a new issue