mirror of https://github.com/mpv-player/mpv
yv12 osd drawer is working for y8/y800/yvu9/if09 becouse it uses only Y-plane and Y-plane is the same for all these formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6538 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a72a759aba
commit
ffe9577241
|
@ -109,6 +109,10 @@ static void draw_func(int x0,int y0, int w,int h,unsigned char* src, unsigned ch
|
|||
case IMGFMT_YV12:
|
||||
case IMGFMT_I420:
|
||||
case IMGFMT_IYUV:
|
||||
case IMGFMT_YVU9:
|
||||
case IMGFMT_IF09:
|
||||
case IMGFMT_Y800:
|
||||
case IMGFMT_Y8:
|
||||
vo_draw_alpha_yv12(w,h,src,srca,stride,dst,vf->priv->dmpi->stride[0]);
|
||||
break;
|
||||
case IMGFMT_YUY2:
|
||||
|
|
Loading…
Reference in New Issue