mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
js: osd-overlay update: return the command result (match 7a76b577
)
Currently only useful for the new 'compute_bounds' command key.
This commit is contained in:
parent
9cf45d8300
commit
a23869379c
@ -214,8 +214,7 @@ mp.create_osd_overlay = function create_osd_overlay(format) {
|
||||
cmd.res_x = Math.round(this.res_x);
|
||||
cmd.res_y = Math.round(this.res_y);
|
||||
|
||||
mp.command_native(cmd);
|
||||
return mp.last_error() ? undefined : true;
|
||||
return mp.command_native(cmd);
|
||||
},
|
||||
|
||||
remove: function ass_remove() {
|
||||
|
Loading…
Reference in New Issue
Block a user