diff libvo/vo_xv.c @ 27944:7b03da3f5a9f

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.
author reimar
date Fri, 21 Nov 2008 23:22:53 +0000
parents 6f199f065e15
children 413c68dbae85
line wrap: on
line diff
--- a/libvo/vo_xv.c	Fri Nov 21 23:17:26 2008 +0000
+++ b/libvo/vo_xv.c	Fri Nov 21 23:22:53 2008 +0000
@@ -291,7 +291,6 @@
     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);