summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-09 19:05:16 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-07-09 19:05:16 +0000
commit5eda57a19b8793e7544e2e267551140d69bc23f1 (patch)
tree9c5e1cf1a3591deb4154718fa945c8e56c978e96 /libvo
parent54632cac163ba5938572380a7f8e07fc8740668c (diff)
downloadmpv-5eda57a19b8793e7544e2e267551140d69bc23f1.tar.bz2
mpv-5eda57a19b8793e7544e2e267551140d69bc23f1.tar.xz
10l (red <-> blue) fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10405 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index ba911521ec..8b68e38635 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -281,7 +281,7 @@ static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int
dstStride[1]=
dstStride[2]=dstStride[0]>>1;
if(HAS_DGA()) dst[0] += y_offset*SCREEN_LINE_SIZE(PIXEL_SIZE())+x_offset*PIXEL_SIZE();
- sws_scale(sws,image,stride,y,h,dst,dstStride);
+ sws_scale_ordered(sws,image,stride,y,h,dst,dstStride);
flip_trigger = 1;
return 0;
}
@@ -426,7 +426,7 @@ static uint32_t draw_frame(uint8_t *src[])
else
srcStride[0] = srcW*2;
if(HAS_DGA()) dst[0] += y_offset*SCREEN_LINE_SIZE(PIXEL_SIZE())+x_offset*PIXEL_SIZE();
- sws_scale(sws,src,srcStride,0,srcH,dst,dstStride);
+ sws_scale_ordered(sws,src,srcStride,0,srcH,dst,dstStride);
flip_trigger=1;
}
return 0;