Update of /cvsroot/mplayer/main In directory usw-pr-cvs1:/tmp/cvs-serv9933 Modified Files: dll_init.c Log Message: fixed yuvhack Index: dll_init.c =================================================================== RCS file: /cvsroot/mplayer/main/dll_init.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** dll_init.c 2001/04/15 14:33:49 1.8 --- dll_init.c 2001/04/16 01:35:44 1.9 *************** *** 147,150 **** --- 147,151 ---- case IMGFMT_IYUV: sh_video->o_bih.biBitCount=12; + break; /* packed format */ *************** *** 189,197 **** } ! // this looks suspicious :-) ! if(!(outfmt == IMGFMT_YUY2 && (sh_video->codec->outflags[sh_video->outfmtidx] & CODECS_FLAG_YUVHACK)) ! && (outfmt & IMGFMT_RGB_MASK) != IMGFMT_RGB && (outfmt & IMGFMT_BGR_MASK ) != IMGFMT_BGR) { sh_video->o_bih.biCompression = outfmt; - } if(verbose) { --- 190,195 ---- } ! if(!(sh_video->codec->outflags[sh_video->outfmtidx] & CODECS_FLAG_YUVHACK)) sh_video->o_bih.biCompression = outfmt; if(verbose) { *************** *** 247,251 **** } ! if(outfmt==IMGFMT_YUY2 && (sh_video->codec->outflags[sh_video->outfmtidx]&CODECS_FLAG_YUVHACK)) sh_video->o_bih.biCompression = mmioFOURCC('Y','U','Y','2'); --- 245,249 ---- } ! if(sh_video->codec->outflags[sh_video->outfmtidx] & CODECS_FLAG_YUVHACK) sh_video->o_bih.biCompression = mmioFOURCC('Y','U','Y','2'); _______________________________________________ Mplayer-cvslog mailing list Mplayer-cvslog@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
participants (1)
-
GEREOFFY