changeset 5274:77074a510629

As jittering is corrected we might as well play the movie in full res (lot nicer output ;).
author mswitch
date Sat, 23 Mar 2002 15:43:17 +0000
parents 8af542acc1b6
children 38f45e170f3b
files libvo/vo_dxr3.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Sat Mar 23 15:27:47 2002 +0000
+++ b/libvo/vo_dxr3.c	Sat Mar 23 15:43:17 2002 +0000
@@ -244,7 +244,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) {
@@ -256,7 +256,9 @@
 	}
 	aspect(&s_width, &s_height, A_ZOOM);
 	s_width -= s_width % 16;
-	s_height -= s_height % 16;
+	s_height -= s_height % 16;*/
+	s_width = ((v_width + 15) / 16) * 16;
+	s_height = ((height + 15) / 16) * 16;
 	
 	/* Try to figure out whether to use widescreen output or not */
 	/* Anamorphic widescreen modes makes this a pain in the ass */