Mercurial > mplayer.hg
changeset 10404:fdcb22f51ec3
10l (red <-> blue) fix
author | michael |
---|---|
date | Wed, 09 Jul 2003 19:05:16 +0000 |
parents | 23c9ebca2e24 |
children | a5785a0b9ee1 |
files | libvo/vo_vesa.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_vesa.c Wed Jul 09 17:35:34 2003 +0000 +++ b/libvo/vo_vesa.c Wed Jul 09 19:05:16 2003 +0000 @@ -281,7 +281,7 @@ 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 @@ 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;