From 26b5f3284b9b970a868972b13554a052e95c8f38 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 21 Apr 2002 12:39:45 +0000 Subject: 100l - fixed yuy2 -dr, reported by Nexus git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5762 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 541bd24c46..5881308d6b 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -738,7 +738,7 @@ static uint32_t get_image(mp_image_t *mpi){ mpi->stride[1]=mpi->stride[2]=image_width/2; } else { mpi->planes[0]=xvimage[current_buf]->data; - mpi->stride[0]=image_width; + mpi->stride[0]=image_width*(mpi->bpp>>3); } mpi->flags|=MP_IMGFLAG_DIRECT; // printf("mga: get_image() SUCCESS -> Direct Rendering ENABLED\n"); -- cgit v1.2.3