1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00

Removed blinking effect from spuenc

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5492 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mswitch 2002-04-04 16:35:03 +00:00
parent 4ee424b12e
commit 555024fb25
2 changed files with 8 additions and 8 deletions

View File

@ -61,17 +61,17 @@ encode_do_control(int x,int y, encodedata* ed, pixbuf* pb) {
/* 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... */

View File

@ -499,7 +499,7 @@ static void draw_osd(void)
{
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);