Mercurial > mplayer.hg
changeset 5491:846285e8e0b4
Removed blinking effect from spuenc
author | mswitch |
---|---|
date | Thu, 04 Apr 2002 16:35:03 +0000 |
parents | 78bd1fa449c3 |
children | b49034cb6867 |
files | libvo/spuenc.c libvo/vo_dxr3.c |
diffstat | 2 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/spuenc.c Thu Apr 04 16:11:09 2002 +0000 +++ b/libvo/spuenc.c Thu Apr 04 16:35:03 2002 +0000 @@ -61,17 +61,17 @@ /* start at x0+2*/ i= controlstart; /* display duration... */ - ed->data[i++]= 0x00; - ed->data[i++]= 0x00; //durration before turn off command occurs +// ed->data[i++]= 0x00; +// ed->data[i++]= 0x00; //durration before turn off command occurs //in 90000/1024 units /* x1 */ - x1=i+4; - ed->data[i++]= x1 >> 8;//location of next command block - ed->data[i++]= x1 & 0xff; +// x1=i+4; +// ed->data[i++]= x1 >> 8;//location of next command block +// ed->data[i++]= x1 & 0xff; /* finish it */ - ed->data[i++]= 0x02;//turn off command - ed->data[i++]= 0xff;//end of command block +// ed->data[i++]= 0x02;//turn off command +// ed->data[i++]= 0xff;//end of command block x1= i; //marker for last command block address /* display duration... */
--- a/libvo/vo_dxr3.c Thu Apr 04 16:11:09 2002 +0000 +++ b/libvo/vo_dxr3.c Thu Apr 04 16:35:03 2002 +0000 @@ -499,7 +499,7 @@ { if (img_format != IMGFMT_MPEGPES) { vo_draw_text(osd_w, osd_h, draw_alpha); - } else if ((disposd % 30) == 0) { + } else if ((disposd % 15) == 0) { vo_draw_text(osd_w, osd_h, draw_alpha); memset(osdpicbuf, 0, s_width * s_height);