[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.67,1.68
David Holm
mswitch at mplayer.dev.hu
Sat Mar 23 16:43:21 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv11383/libvo
Modified Files:
vo_dxr3.c
Log Message:
As jittering is corrected we might as well play the movie in full res
(lot nicer output ;).
Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- vo_dxr3.c 23 Mar 2002 15:27:47 -0000 1.67
+++ vo_dxr3.c 23 Mar 2002 15:43:17 -0000 1.68
@@ -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 */
More information about the MPlayer-cvslog
mailing list