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:
reimar 2008-11-21 23:22:53 +00:00
parent b8a0605f4b
commit 61a0561122
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

@ -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);