Update of /cvsroot/mplayer/main In directory mplayer:/var/tmp.root/cvs-serv21858 Modified Files: dec_video.c Log Message: passing palette to libvo Index: dec_video.c =================================================================== RCS file: /cvsroot/mplayer/main/dec_video.c,v retrieving revision 1.59 retrieving revision 1.60 diff -u -r1.59 -r1.60 --- dec_video.c 3 Nov 2001 22:15:42 -0000 1.59 +++ dec_video.c 5 Nov 2001 15:47:21 -0000 1.60 @@ -691,8 +691,13 @@ planes[0]=sh_video->our_out_buffer; planes[2]=planes[0]+sh_video->disp_w*sh_video->disp_h; planes[1]=planes[2]+sh_video->disp_w*sh_video->disp_h/4; - } else + } else { planes[0]=sh_video->our_out_buffer; + if(sh_video->bih && sh_video->bih->biSize==1064) + planes[1]=&sh_video->bih[1]; // pointer to palette + else + planes[1]=NULL; + } case 2: #ifdef USE_LIBVO2 if(planar)
participants (1)
-
Arpi of Ize