changeset 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 c25cbf15a51c
children 2c8417164a90
files libvo/vo_xv.c libvo/vo_xvmc.c
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
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);
 
--- a/libvo/vo_xvmc.c	Fri Nov 21 23:17:26 2008 +0000
+++ b/libvo/vo_xvmc.c	Fri Nov 21 23:22:53 2008 +0000
@@ -677,7 +677,6 @@
 #endif
    }
 
-   aspect(&vo_dwidth, &vo_dheight, A_NOZOOM);
    if ((flags & VOFLAG_FULLSCREEN) && WinID <= 0) vo_fs = 1;
    calc_drwXY(&drwX, &drwY);