[MPlayer-dev-eng] [PATCH] fbdev fullscreen placement
Balatoni Denes
pnis at coder.hu
Wed Oct 23 16:56:34 CEST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
If movie height is odd, the picture is placed badly on fbdev
fullscreen, due to wrong rouding.
bye
Denes
- - --
"Use the source Luke !"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9triiaQToeq3jgogRAltgAJ9pirL8/Quq4Bmw4DJgMiuPZKEasgCdEhjv
XREKL65Dr+Xw/IemkQwX3FI=
=jz9x
-----END PGP SIGNATURE-----
-------------- next part --------------
--- libvo/vo_fbdev.c Wed Oct 9 02:52:15 2002
+++ libvo/vo_fbdev.c Wed Oct 23 16:33:38 2002
@@ -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) {
More information about the MPlayer-dev-eng
mailing list