CarterLi / iina

The modern video player for macOS with additional features and bug fixes.
https://iina.io
GNU General Public License v3.0
681 stars 29 forks source link

Try to avoid window resize on file open #32

Open ottob opened 2 years ago

ottob commented 2 years ago

System and IINA version:

Expected behavior: File is opened with the correct window size.

Actual behavior: IINA opens with a too large (or small, depending on the file resolution) window and then has to resize the window (with an animation). This looks janky compared to Quicktime that opens with the correct size at once, and it also takes longer until the video is started.

slow motion capture of qt: https://www.mediafire.com/file/dx7ryv8q64hagbf/qt.mov/file slow motion capture of iina: https://www.mediafire.com/file/02czgw7mbsmoe6y/iina.MOV/file

Steps to reproduce: Open video file. My settings:

Screenshot 2022-01-28 at 19 49 18

How often does this happen? Always