# HG changeset patch # User mswitch # Date 1016907382 0 # Node ID 88df6d5f6ce756e648cf984616589719a035c691 # Parent ea8f3e8f39c1b9924e4c2369eb6f42a7e17ffdfc Aspect code reenabled, apparently users didn't like running movies hi-res ;) diff -r ea8f3e8f39c1 -r 88df6d5f6ce7 libvo/vo_dxr3.c --- a/libvo/vo_dxr3.c Sat Mar 23 17:29:35 2002 +0000 +++ b/libvo/vo_dxr3.c Sat Mar 23 18:16:22 2002 +0000 @@ -245,7 +245,7 @@ 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 @@ } 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 */