fltk-rs / demos

Repo containing demo apps using the fltk crate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two GUI windows appear when run 'mpv' on MacBook Air

xue35 opened this issue · comments

commented

Hi,

There are two GUI windows poped up when I use command cargo run to run code 'mpv' on my MacBook Air as screenshot attached. However this won't happen on m Raspberry Pi 400 running debian.
Screen Shot 2022-06-21 at 08 13 46

Curious what's wrong under the hood.

Cheers,

Hi

It seems mpv doesn’t support the —wid flag on macos:
mpv-player/mpv#7821

So it just starts its own window. So unfortunately on macos it seems one has to resort to using libmpv (as in the libmpv demo).