Mercurial > mplayer.hg
changeset 659:52572e691946
bpp selection fixed
author | szabii |
---|---|
date | Sat, 28 Apr 2001 22:05:17 +0000 |
parents | ae02d4734ad6 |
children | 29c9635aa144 |
files | libvo/vo_fbdev.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Sat Apr 28 20:39:25 2001 +0000 +++ b/libvo/vo_fbdev.c Sat Apr 28 22:05:17 2001 +0000 @@ -677,9 +677,15 @@ } fb_orig_vinfo = fb_vinfo; +/* fb_bpp = (fb_vinfo.bits_per_pixel == 32) ? 32 : (fb_vinfo.red.length + fb_vinfo.green.length + fb_vinfo.blue.length); +*/ +#warning FIXME + /* nemigy kellene bpp-t meghatarozni */ + fb_bpp = (fb_vinfo.bits_per_pixel == 32) ? 32 : + (fb_vinfo.red.length + fb_vinfo.red.offset); if (vo_dbpp) { if (vo_dbpp != 15 && vo_dbpp != 16 && vo_dbpp != 24 && vo_dbpp != 32) {