diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-09-13 22:56:14 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-09-13 22:56:14 +0000 |
commit | df62f1a3465a223ad8e229b35db874b8311ed946 (patch) | |
tree | dfe7021841175e30dbe788b1dc370b2bb4e3512d /src | |
parent | fc1d01f27ce1e142a1fed9166d516c71e61f1fa9 (diff) | |
download | xine-lib-df62f1a3465a223ad8e229b35db874b8311ed946.tar.gz xine-lib-df62f1a3465a223ad8e229b35db874b8311ed946.tar.bz2 |
fix colors of YUY2 overlay blending
CVS patchset: 5370
CVS date: 2003/09/13 22:56:14
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/alphablend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/alphablend.c b/src/video_out/alphablend.c index 794d602ae..3eb98adc8 100644 --- a/src/video_out/alphablend.c +++ b/src/video_out/alphablend.c @@ -1015,7 +1015,7 @@ void blend_yuy2 (uint8_t * dst_img, vo_overlay_t * img_overl, if (o && mask) { l = rlelen>>1; - if( x & 1 ) { + if( !((x_off+x) & 1) ) { *(((uint8_t *)&yuy2) + 0) = my_clut[clr].y; *(((uint8_t *)&yuy2) + 1) = my_clut[clr].cb; *(((uint8_t *)&yuy2) + 2) = my_clut[clr].y; |