Mercurial > mplayer.hg
changeset 450:ce10c892074f
fixed osd for UYVY image format
author | atmosfear |
---|---|
date | Sun, 15 Apr 2001 21:01:19 +0000 |
parents | 450521994982 |
children | e27a365b0303 |
files | libvo/vo_xv.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_xv.c Sun Apr 15 20:52:23 2001 +0000 +++ b/libvo/vo_xv.c Sun Apr 15 21:01:19 2001 +0000 @@ -272,10 +272,12 @@ vo_draw_alpha_yv12(w,h,src,srca,stride,xvimage[0]->data+image_width*y0+x0,image_width); break; case IMGFMT_YUY2: - case IMGFMT_UYVY: case IMGFMT_YVYU: vo_draw_alpha_yuy2(w,h,src,srca,stride,xvimage[0]->data+2*(image_width*y0+x0),2*image_width); break; + case IMGFMT_UYVY: + vo_draw_alpha_yuy2(w,h,src,srca,stride,xvimage[0]->data+2*(image_width*y0+x0)+1,2*image_width); + break; } }