Video windows open incorrectly when videos larger than monitor
mpv git-8fc0b618, open 1080p videos on my Macbook air it look like this:
Before:

The above commit should fix it, I didn't realize this regression because I'm running on a 27" iMac. Let me know if it's fixed for you.
Thanks it fine now, can you have a look at --ao=sdl file open with sdl kind of freeze.
Regression with lasted git 66693662800443fd3e28c57f665d50b232b46596
seems to be a problem again
I can't reproduce this. It works well here, can you provide config and flags?
My config file:
osd-duration=3500
prefer-ipv4=yes
autosub-match=fuzzy
use-filedir-conf=yes
correct-pts=yes
msgcolor=yes
osd-font="MyriadPro-Semibold"
osd-font-size=39
slang=eng,en,vi
alang=jp,jpn,en,eng,vi,vie
It only happen at first once enter full screen then return to windows it seem normal, here a screen capture.
Hey! Sorry for taking so much. After thinking about it, in my opinion this constraining to the screen size should be removed. mpv has another option called --autofit-larger that roughly does the same thing.
I pushed this new implementation to a branch called cocoa-resize. Do you think you could test if this (combined with --autofit-larger) is ok for your needs and give me some feedback?
Thank you!
No problem at all. Use --autofit-larger=100% seem nice but a small part of windows open under the Dock, is it good to remove that code i mean all other player i seen resize the videos when it larger anyway and aren't people expected that than an over size windows with close button nowhere to see.
btw: mpv windows not show in Exposé when use with --ontop
That is because --autofit-larger uses the screen frame, not the visible frame. Using a smaller value (I saw most people using around 80%) may lead to better results.
Pushed another commit which should make the situation better by always showing the titlebar. Using --no-border will disregard any correction.
With commit 9c6c5a890c437e65ebc8b6c026c9a9b2d48bc70f titlebar look a bit better, right part of windows appear in white ~1s when videos start playing also go from fullscreen to windows make it normal again i remember it was remove with 3e79e9a12e8fffcc73efe18fd7f3bcdea8a80b06.

I pushed again the cocoa-resize branch. It should be be bugfree now.
Yes it fix the white flicker but strange i can't reproduce it with master git ca678dce4d3170a65ac184574bd12130aed06e82 either.
pushed ff3b98d to master containing a fix