summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-21 23:22:53 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-21 23:22:53 +0000
commit61a05611223a15717aaf24a0910284a2dfa3ba8c (patch)
treebb1b0e2f9f9ca814db8856d91aea3b91f8ed64a0 /libvo
parentb8a0605f4b8d80fdbf4932922960b8fb512f5e5c (diff)
downloadmpv-61a05611223a15717aaf24a0910284a2dfa3ba8c.tar.bz2
mpv-61a05611223a15717aaf24a0910284a2dfa3ba8c.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c1
-rw-r--r--libvo/vo_xvmc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index dcb0e95026..5e8333156d 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -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);
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c
index 2e1720f33b..26b6564146 100644
--- a/libvo/vo_xvmc.c
+++ b/libvo/vo_xvmc.c
@@ -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);