summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authormswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-04 16:35:03 +0000
committermswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-04 16:35:03 +0000
commit555024fb25a1ef681deec1c46b9398a6fabbc9f4 (patch)
treecef56b8885d57026d70831c3b7e94e3848b33dbe /libvo
parent4ee424b12e0d2a343b71f052a589a69011721737 (diff)
downloadmpv-555024fb25a1ef681deec1c46b9398a6fabbc9f4.tar.bz2
mpv-555024fb25a1ef681deec1c46b9398a6fabbc9f4.tar.xz
Removed blinking effect from spuenc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5492 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/spuenc.c14
-rw-r--r--libvo/vo_dxr3.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/libvo/spuenc.c b/libvo/spuenc.c
index 7aca9fbd15..a8efc7978a 100644
--- a/libvo/spuenc.c
+++ b/libvo/spuenc.c
@@ -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... */
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c
index d764650cd9..66ed64e67c 100644
--- a/libvo/vo_dxr3.c
+++ b/libvo/vo_dxr3.c
@@ -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);