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:
alex 2002-06-23 19:33:55 +00:00
parent a72a759aba
commit ffe9577241
1 changed files with 4 additions and 0 deletions

View File

@ -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: