[Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.70,1.71
Arpi of Ize
arpi at mplayerhq.hu
Wed Oct 23 17:33:08 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux Makefile,1.39,1.40 cache2.c,1.17,1.18 network.c,1.60,1.61 test.c,1.7,1.8 mpdemux.c,1.3,NONE mpdemux.h,1.1,NONE
- Next message: [Mplayer-cvslog] CVS: main cfg-mplayer.h,1.173,1.174 mplayer.c,1.599,1.600
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv7464
Modified Files:
vo_fbdev.c
Log Message:
If movie height is odd, the picture is placed badly, due to wrong rouding.
patch by Balatoni Denes <pnis at coder.hu>
Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- vo_fbdev.c 9 Oct 2002 00:52:15 -0000 1.70
+++ vo_fbdev.c 23 Oct 2002 15:32:40 -0000 1.71
@@ -1064,7 +1064,7 @@
return 1;
}
L123123875 = frame_buffer + (out_width - in_width) * fb_pixel_size /
- 2 + (out_height - in_height) * fb_line_len / 2;
+ 2 + ( (out_height - in_height) / 2 ) * fb_line_len;
if (verbose > 0) {
if (verbose > 1) {
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux Makefile,1.39,1.40 cache2.c,1.17,1.18 network.c,1.60,1.61 test.c,1.7,1.8 mpdemux.c,1.3,NONE mpdemux.h,1.1,NONE
- Next message: [Mplayer-cvslog] CVS: main cfg-mplayer.h,1.173,1.174 mplayer.c,1.599,1.600
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list