From c4e64232fde6a8b075c1db7cb4f4e9de0882cef8 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 19 Jun 2005 13:50:50 +0000 Subject: Fix some subtitles that didn't show. Sample: http://mplayerhq.hu/MPlayer/samples/sub/starwarssub2.vob git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15762 b3059339-0415-0410-9bf9-f77b7e298cf2 --- spudec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spudec.c') diff --git a/spudec.c b/spudec.c index ec907fb805..6b10e5ffa0 100644 --- a/spudec.c +++ b/spudec.c @@ -503,10 +503,12 @@ void spudec_assemble(void *this, unsigned char *packet, unsigned int len, unsign mp_msg(MSGT_SPUDEC,MSGL_WARN,"SPUasm: packet too short\n"); return; } +#if 0 if ((spu->packet_pts + 10000) < pts100) { // [cb] too long since last fragment: force new packet spu->packet_offset = 0; } +#endif spu->packet_pts = pts100; if (spu->packet_offset == 0) { unsigned int len2 = get_be16(packet); -- cgit v1.2.3