nothing important

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@664 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
szabii 2001-04-29 21:16:21 +00:00
parent c11555c175
commit c9f210f269
1 changed files with 7 additions and 9 deletions

View File

@ -677,15 +677,13 @@ static int fb_preinit(void)
}
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);
fb_bpp = fb_vinfo.bits_per_pixel;
/* 16 and 15 bpp is reported 16 bpp */
if (fb_bpp == 16)
fb_bpp = fb_vinfo.red.length + fb_vinfo.green.length +
fb_vinfo.blue.length;
if (vo_dbpp) {
if (vo_dbpp != 15 && vo_dbpp != 16 && vo_dbpp != 24 &&
vo_dbpp != 32) {