Mercurial > mplayer.hg
comparison libvo/vo_dxr3.c @ 5491:846285e8e0b4
Removed blinking effect from spuenc
author | mswitch |
---|---|
date | Thu, 04 Apr 2002 16:35:03 +0000 |
parents | 78bd1fa449c3 |
children | 14323f846fc8 |
comparison
equal
deleted
inserted
replaced
5490:78bd1fa449c3 | 5491:846285e8e0b4 |
---|---|
497 | 497 |
498 static void draw_osd(void) | 498 static void draw_osd(void) |
499 { | 499 { |
500 if (img_format != IMGFMT_MPEGPES) { | 500 if (img_format != IMGFMT_MPEGPES) { |
501 vo_draw_text(osd_w, osd_h, draw_alpha); | 501 vo_draw_text(osd_w, osd_h, draw_alpha); |
502 } else if ((disposd % 30) == 0) { | 502 } else if ((disposd % 15) == 0) { |
503 vo_draw_text(osd_w, osd_h, draw_alpha); | 503 vo_draw_text(osd_w, osd_h, draw_alpha); |
504 memset(osdpicbuf, 0, s_width * s_height); | 504 memset(osdpicbuf, 0, s_width * s_height); |
505 | 505 |
506 /* could stand some check here to see if the subpic hasn't changed | 506 /* could stand some check here to see if the subpic hasn't changed |
507 * as if it hasn't and we re-send it it will "blink" as the last one | 507 * as if it hasn't and we re-send it it will "blink" as the last one |