[MPlayer-cvslog] r27978 - in trunk/libvo: vo_xv.c vo_xvmc.c

reimar subversion at mplayerhq.hu
Sat Nov 22 00:22:54 CET 2008


Author: reimar
Date: Sat Nov 22 00:22:53 2008
New Revision: 27978

Log:
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.


Modified:
   trunk/libvo/vo_xv.c
   trunk/libvo/vo_xvmc.c

Modified: trunk/libvo/vo_xv.c
==============================================================================
--- trunk/libvo/vo_xv.c	(original)
+++ trunk/libvo/vo_xv.c	Sat Nov 22 00:22:53 2008
@@ -291,7 +291,6 @@ static int config(uint32_t width, uint32
     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);
 

Modified: trunk/libvo/vo_xvmc.c
==============================================================================
--- trunk/libvo/vo_xvmc.c	(original)
+++ trunk/libvo/vo_xvmc.c	Sat Nov 22 00:22:53 2008
@@ -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);
 



More information about the MPlayer-cvslog mailing list