mirror of
https://github.com/mpv-player/mpv
synced 2025-02-08 07:57:19 +00:00
Remove a aspect calculation line.
It is useless because with the new API enabled by VOCTRL_UPDATE_SCREENINFO it is not necessary because it is already done in video_out.c:config_video_out. Secondly, the removal of the aspect_save_prescale triggered a regression because of it, with -wid the window would not be filled completely initially. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27978 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b8a0605f4b
commit
61a0561122
@ -291,7 +291,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
current_buf = 0;
|
||||
current_ip_buf = 0;
|
||||
|
||||
aspect(&vo_dwidth, &vo_dheight, A_NOZOOM);
|
||||
if ((flags & VOFLAG_FULLSCREEN) && WinID <= 0) vo_fs = 1;
|
||||
calc_drwXY(&drwX, &drwY);
|
||||
|
||||
|
@ -677,7 +677,6 @@ skip_surface_allocation:
|
||||
#endif
|
||||
}
|
||||
|
||||
aspect(&vo_dwidth, &vo_dheight, A_NOZOOM);
|
||||
if ((flags & VOFLAG_FULLSCREEN) && WinID <= 0) vo_fs = 1;
|
||||
calc_drwXY(&drwX, &drwY);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user