diff options
author | 2002-03-23 18:16:22 +0000 | |
---|---|---|
committer | 2002-03-23 18:16:22 +0000 | |
commit | d58adc2b78bf2f358abf0a616136d4b73b46d8e1 (patch) | |
tree | b8f5c7aa03a862b732bac86dbbeaaf12219d439a /libvo/vo_dxr3.c | |
parent | b49e68591360451f96f3b4ad63b81aa9728273c3 (diff) |
Aspect code reenabled, apparently users didn't like running movies
hi-res ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5282 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r-- | libvo/vo_dxr3.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index cd1c68a531..2073ea6702 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -245,7 +245,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 monitor_aspect = (float) width / (float) height; /* libavcodec requires a width and height that is x|16 */ - /*aspect_save_orig(width, height); + aspect_save_orig(width, height); aspect_save_prescale(d_width, d_height); ioctl(fd_control, EM8300_IOCTL_GET_VIDEOMODE, &ioval); if (ioval == EM8300_VIDEOMODE_NTSC) { @@ -257,9 +257,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 } aspect(&s_width, &s_height, A_ZOOM); s_width -= s_width % 16; - s_height -= s_height % 16;*/ - s_width = ((v_width + 15) / 16) * 16; - s_height = ((height + 15) / 16) * 16; + s_height -= s_height % 16; /* Try to figure out whether to use widescreen output or not */ /* Anamorphic widescreen modes makes this a pain in the ass */ |