mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00:00
passing palette to libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2717 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
84b6d749f4
commit
a5c80b82c5
@ -691,8 +691,13 @@ case 3:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user