From ffe95772416f2c51f390365c3e7827fc85a20b13 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 23 Jun 2002 19:33:55 +0000 Subject: [PATCH] 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 --- libmpcodecs/vf_expand.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmpcodecs/vf_expand.c b/libmpcodecs/vf_expand.c index 3329e86250..2cf5069c22 100644 --- a/libmpcodecs/vf_expand.c +++ b/libmpcodecs/vf_expand.c @@ -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: