diff options
Diffstat (limited to 'src/video_out/video_out_raw.c')
-rw-r--r-- | src/video_out/video_out_raw.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/video_out/video_out_raw.c b/src/video_out/video_out_raw.c index fbb7fc5f0..50f385959 100644 --- a/src/video_out/video_out_raw.c +++ b/src/video_out/video_out_raw.c @@ -1,3 +1,4 @@ + /* * Copyright (C) 2007-2008 the xine project * @@ -155,12 +156,12 @@ static int raw_process_ovl( raw_driver_t *this_gen, vo_overlay_t *overlay ) x = pos%ovl->ovl_w; y = pos/ovl->ovl_w; if ( (x>=overlay->hili_left && x<=overlay->hili_right) && (y>=overlay->hili_top && y<=overlay->hili_bottom) ) { - colors = hili_colors; - trans = hili_trans; + colors = hili_colors; + trans = hili_trans; } else { - colors = low_colors; - trans = low_trans; + colors = low_colors; + trans = low_trans; } rlelen = rle->len; clr = rle->color; @@ -176,7 +177,7 @@ static int raw_process_ovl( raw_driver_t *this_gen, vo_overlay_t *overlay ) rgba[3] = alpha*255/15; } rgba+= 4; - ++pos; + ++pos; } ++rle; --num_rle; @@ -190,7 +191,7 @@ static void raw_overlay_begin (vo_driver_t *this_gen, vo_frame_t *frame_gen, int raw_driver_t *this = (raw_driver_t *) this_gen; if ( !changed ) - return; + return; ++this->ovl_changed; } |